File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 echo "SPP_RELEASE_VERSION=${VERSION/-SNAPSHOT/}" >> $GITHUB_ENV
4141
4242 - name : Build native spp-cli
43- run : gradle assemble nativeImage -Dbuild.profile=release -PprojectVersion =$SPP_RELEASE_VERSION
43+ run : gradle assemble nativeImage -Dbuild.profile=release -PcliVersion =$SPP_RELEASE_VERSION
4444
4545 - name : " [CLI] Get version"
4646 run : ./build/graal/spp-cli -v version
8686 echo "SPP_RELEASE_VERSION=${VERSION/-SNAPSHOT/}" >> $GITHUB_ENV
8787
8888 - name : Build native spp-cli.exe
89- run : ./gradlew assemble nativeImage '-Dbuild.profile=release' '-PprojectVersion =$SPP_RELEASE_VERSION'
89+ run : ./gradlew assemble nativeImage '-Dbuild.profile=release' '-PcliVersion =$SPP_RELEASE_VERSION'
9090 shell : powershell
9191
9292 - name : " [CLI] Get version"
@@ -136,7 +136,7 @@ jobs:
136136 echo "SPP_CLI_VERSION=$VERSION" >> $GITHUB_ENV
137137 echo "SPP_RELEASE_VERSION=${VERSION/-SNAPSHOT/}" >> $GITHUB_ENV
138138
139- - run : ./gradlew assembleUp nativeImage -Dbuild.profile=release -PprojectVersion =$SPP_RELEASE_VERSION
139+ - run : ./gradlew assembleUp nativeImage -Dbuild.profile=release -PcliVersion =$SPP_RELEASE_VERSION
140140
141141 - name : Docker IPs
142142 run : docker inspect --format='{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
Original file line number Diff line number Diff line change @@ -20,9 +20,10 @@ val commonsIoVersion: String by project
2020val auth0JwtVersion: String by project
2121val vertxVersion: String by project
2222val slf4jVersion: String by project
23+ val cliVersion: String = project.properties[" cliVersion" ] as String? ? : projectVersion
2324
2425group = cliGroup
25- version = projectVersion
26+ version = cliVersion
2627
2728repositories {
2829 mavenCentral()
You can’t perform that action at this time.
0 commit comments