We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7433e96 commit 63c96b6Copy full SHA for 63c96b6
ci/azure-pipelines.yml
@@ -54,6 +54,9 @@ stages:
54
- script: |
55
env | sort
56
java -version
57
+ VERSION=$(cat build.gradle | sed -n "s/version =.*'\(.*\)\(-SNAPSHOT\)\?'/\1/p")
58
+ VERSION=${VERSION// }
59
+ echo Current version in code is :${VERSION}:
60
- task: Gradle@2
61
inputs:
62
workingDirectory: ''
@@ -153,7 +156,7 @@ stages:
153
156
154
157
155
158
# temporarily use this approach instead of the gittag
- VERSION=$(cat build.gradle | sed -n "s/version =.*'\(.*\)\(-SNAPSHOT\)\?'/\1/p"
159
160
VERSION=${VERSION// }
161
echo Version is :${VERSION}:
162
0 commit comments