mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-11-30 02:57:37 +08:00
[Core] [Env] Add version (#797)
This commit is contained in:
commit
e4becd4730
@ -1,3 +1,6 @@
|
||||
################################### Banner configure #################################
|
||||
app.version=2024.03.7-SNAPSHOT
|
||||
|
||||
################################### Basic configure #################################
|
||||
server.port=9096
|
||||
# Note: If you need to use IP+ port to facilitate access by external machines, do not set it to localhost, 0.0.0.0 is recommended
|
||||
|
@ -33,6 +33,9 @@ job_runner_apply() {
|
||||
printf "\nApply new version for server successful\n\n"
|
||||
fi
|
||||
|
||||
echo "Apply new version for application ..."
|
||||
perl -pi -e 's/app\.version=.*/app.version='"$VERSION"'/g' configure/etc/conf/application.properties
|
||||
|
||||
printf "Apply new version for web ...\n"
|
||||
# shellcheck disable=SC2164
|
||||
cd "$HOME"/core/datacap-ui
|
||||
|
@ -3,3 +3,8 @@
|
||||
8I Yb dPYb 88 dPYb dP `" dPYb 88__dP
|
||||
8I dY dP__Yb 88 dP__Yb Yb dP__Yb 88"""
|
||||
8888Y" dP""""Yb 88 dP""""Yb YboodP dP""""Yb 88
|
||||
|
||||
::Spring Boot Version:: ${AnsiColor.RED}(${spring-boot.version})${AnsiColor.DEFAULT}
|
||||
|
||||
::Application Version:: ${AnsiColor.RED}(${app.version})${AnsiColor.DEFAULT}
|
||||
::Application Address:: ${AnsiColor.RED}http://${server.address}:${server.port}${AnsiColor.DEFAULT}
|
||||
|
@ -102,6 +102,11 @@
|
||||
<artifactId>datacap-convert-csv</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.edurt.datacap</groupId>
|
||||
<artifactId>datacap-convert-xml</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
Loading…
Reference in New Issue
Block a user