Skip to content

Commit

Permalink
[FABN-1320] Remove sed from git_tag.sh script
Browse files Browse the repository at this point in the history
gsed command may not be installed and sed is not required

Change-Id: Ie0ba226182ad23152b6e43a70d20941b8f397a8a
Signed-off-by: James Taylor <[email protected]>
  • Loading branch information
jt-nti committed Aug 14, 2019
1 parent 61be267 commit 1a38b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gittag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function abort {
}

# Run printVersionName task in the root directory, grab the first line and remove anything after the version number
VERSION=$(cd ../ && ./gradlew -q printVersionName | gsed -n 1p | gsed -r "s/-.*//")
VERSION=$(cd ../ && ./gradlew -q printVersionName | head -n 1 | cut -d'-' -f1)

echo New version string will be v${VERSION}

Expand Down

0 comments on commit 1a38b84

Please sign in to comment.