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.
2 parents 7b3e509 + 1a38b84 commit 13fbec8Copy full SHA for 13fbec8
scripts/gittag.sh
@@ -18,7 +18,7 @@ function abort {
18
}
19
20
# Run printVersionName task in the root directory, grab the first line and remove anything after the version number
21
-VERSION=$(cd ../ && ./gradlew -q printVersionName | gsed -n 1p | gsed -r "s/-.*//")
+VERSION=$(cd ../ && ./gradlew -q printVersionName | head -n 1 | cut -d'-' -f1)
22
23
echo New version string will be v${VERSION}
24
0 commit comments