Skip to content

Commit f82c5f2

Browse files
author
anna-singleton-resolver
committed
fix: tr syntax
1 parent 65c738e commit f82c5f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
else
123123
# we want to build pre-release versioning for other branches, but only feature/* and fix/* will get published.
124124
BRANCH_NAME="${GITHUB_REF##*/}"
125-
SANITIZED_BRANCH_NAME=$(echo "$BRANCH_NAME" | tr '-' '')
125+
SANITIZED_BRANCH_NAME=$(echo "$BRANCH_NAME" | tr -d '-')
126126
SHORT_SHA=$(echo "$GITHUB_SHA" | cut -c1-7)
127127
LAST_TAG=$(git describe --abbrev=0 --tags)
128128
VERSION="$LAST_TAG-${SANITIZED_BRANCH_NAME}.${SHORT_SHA}"

0 commit comments

Comments
 (0)