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 c249e21 commit a52febeCopy full SHA for a52febe
admin/build.sh
@@ -31,7 +31,9 @@ verPat="[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)?"
31
tagPat="^v$verPat(#.*)?$"
32
33
if [[ "$TRAVIS_TAG" =~ $tagPat ]]; then
34
- tagVer=$(echo $TRAVIS_TAG | sed s/#.*// | sed s/^v//)
+ tagVer=${TRAVIS_TAG}
35
+ tagVer=${tagVer#v} # Remove `v` at beginning.
36
+ tagVer=${tagVer%%#*} # Remove anything after `#`.
37
publishVersion='set every version := "'$tagVer'"'
38
39
if [ "$RELEASE_COMBO" = "true" ]; then
0 commit comments