Skip to content

Commit 8283e19

Browse files
author
anna-singleton-resolver
committed
fix: python doesnt permit SemVer
1 parent f82c5f2 commit 8283e19

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,9 @@ jobs:
121121
echo "On main branch, using default version"
122122
else
123123
# 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 -d '-')
126-
SHORT_SHA=$(echo "$GITHUB_SHA" | cut -c1-7)
127124
LAST_TAG=$(git describe --abbrev=0 --tags)
128-
VERSION="$LAST_TAG-${SANITIZED_BRANCH_NAME}.${SHORT_SHA}"
129-
uv version "$VERSION"
125+
uv version "$LAST_TAG"
126+
uv version --bump patch --bump dev="$(date +%Y%m%d%H%M%S)"
130127
fi
131128
fi
132129

0 commit comments

Comments
 (0)