From f714dffe70272bbe26138c6cd11f700ecad2fb46 Mon Sep 17 00:00:00 2001 From: kl Date: Thu, 13 Apr 2023 10:40:01 +0800 Subject: [PATCH] 4.2.0 release --- Dockerfile | 4 ++-- pom.xml | 2 +- server/pom.xml | 2 +- server/src/main/bin/startup.bat | 2 +- server/src/main/bin/startup.sh | 2 +- server/src/main/resources/banner.txt | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 660b67e7..a6811173 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM keking/kkfileview-jdk:4.1.1 MAINTAINER chenjh "842761733@qq.com" ADD server/target/kkFileView-*.tar.gz /opt/ -ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-4.2.0-SNAPSHOT/bin -ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-4.2.0-SNAPSHOT/config/application.properties","-jar","/opt/kkFileView-4.2.0-SNAPSHOT/bin/kkFileView-4.2.0-SNAPSHOT.jar"] +ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-4.2.0/bin +ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-4.2.0/config/application.properties","-jar","/opt/kkFileView-4.2.0/bin/kkFileView-4.2.0.jar"] diff --git a/pom.xml b/pom.xml index 5cb4b3be..af8e9036 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.keking kkFileView-parent - 4.2.0-SNAPSHOT + 4.2.0 1.8 diff --git a/server/pom.xml b/server/pom.xml index 85cea938..f7f19f14 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -6,7 +6,7 @@ kkFileView-parent cn.keking - 4.2.0-SNAPSHOT + 4.2.0 kkFileView diff --git a/server/src/main/bin/startup.bat b/server/src/main/bin/startup.bat index 564c8f1d..712d0b58 100644 --- a/server/src/main/bin/startup.bat +++ b/server/src/main/bin/startup.bat @@ -7,4 +7,4 @@ echo Please check log file in ../log/kkFileView.log for more information echo You can get help in our official home site: https://kkview.cn echo If you need further help, please join our kk opensource community: https://t.zsxq.com/09ZHSXbsQ echo If this project is helpful to you, please star it on https://gitee.com/kekingcn/file-online-preview/stargazers -java -Dspring.config.location=..\config\application.properties -jar kkFileView-4.2.0-SNAPSHOT.jar -> ..\log\kkFileView.log +java -Dspring.config.location=..\config\application.properties -jar kkFileView-4.2.0.jar -> ..\log\kkFileView.log diff --git a/server/src/main/bin/startup.sh b/server/src/main/bin/startup.sh index a3786c18..08682406 100644 --- a/server/src/main/bin/startup.sh +++ b/server/src/main/bin/startup.sh @@ -51,7 +51,7 @@ else ## 启动kkFileView echo "Starting kkFileView..." - nohup java -Dfile.encoding=UTF-8 -Dspring.config.location=../config/application.properties -jar kkFileView-4.2.0-SNAPSHOT.jar > ../log/kkFileView.log 2>&1 & + nohup java -Dfile.encoding=UTF-8 -Dspring.config.location=../config/application.properties -jar kkFileView-4.2.0.jar > ../log/kkFileView.log 2>&1 & echo "Please execute ./showlog.sh to check log for more information" echo "You can get help in our official home site: https://kkview.cn" echo "If you need further help, please join our kk opensource community: https://t.zsxq.com/09ZHSXbsQ" diff --git a/server/src/main/resources/banner.txt b/server/src/main/resources/banner.txt index 8373d354..6f89d5c6 100644 --- a/server/src/main/resources/banner.txt +++ b/server/src/main/resources/banner.txt @@ -7,7 +7,7 @@ |_|\_\ |_|\_\ |_| |_| |_| \___| \/ |_| \___| \_/\_/ => Spring Boot :: ${spring-boot.version} - => kkFileView :: 4.2.0-SNAPSHOT + => kkFileView :: 4.2.0 => Home site :: https://kkview.cn => Github :: https://github.com/kekingcn/kkFileView => Gitee :: https://gitee.com/kekingcn/file-online-preview