Skip to content

Commit 13fbec8

Browse files
jt-ntiGerrit Code Review
authored andcommitted
Merge "[FABN-1320] Remove sed from git_tag.sh script"
2 parents 7b3e509 + 1a38b84 commit 13fbec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gittag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function abort {
1818
}
1919

2020
# 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/-.*//")
21+
VERSION=$(cd ../ && ./gradlew -q printVersionName | head -n 1 | cut -d'-' -f1)
2222

2323
echo New version string will be v${VERSION}
2424

0 commit comments

Comments
 (0)