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 65c738e commit f82c5f2Copy full SHA for f82c5f2
1 file changed
.github/workflows/ci.yml
@@ -122,7 +122,7 @@ jobs:
122
else
123
# we want to build pre-release versioning for other branches, but only feature/* and fix/* will get published.
124
BRANCH_NAME="${GITHUB_REF##*/}"
125
- SANITIZED_BRANCH_NAME=$(echo "$BRANCH_NAME" | tr '-' '')
+ SANITIZED_BRANCH_NAME=$(echo "$BRANCH_NAME" | tr -d '-')
126
SHORT_SHA=$(echo "$GITHUB_SHA" | cut -c1-7)
127
LAST_TAG=$(git describe --abbrev=0 --tags)
128
VERSION="$LAST_TAG-${SANITIZED_BRANCH_NAME}.${SHORT_SHA}"
0 commit comments