Skip to content

Commit 65c738e

Browse files
author
anna-singleton-resolver
committed
fix: semver
1 parent ad82d7a commit 65c738e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ 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 '-' '')
126126
SHORT_SHA=$(echo "$GITHUB_SHA" | cut -c1-7)
127127
LAST_TAG=$(git describe --abbrev=0 --tags)
128-
VERSION="$LAST_TAG-${SANITIZED_BRANCH_NAME}_${SHORT_SHA}"
128+
VERSION="$LAST_TAG-${SANITIZED_BRANCH_NAME}.${SHORT_SHA}"
129129
uv version "$VERSION"
130130
fi
131131
fi

0 commit comments

Comments
 (0)