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 f82c5f2 commit 8283e19Copy full SHA for 8283e19
1 file changed
.github/workflows/ci.yml
@@ -121,12 +121,9 @@ jobs:
121
echo "On main branch, using default version"
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 -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}"
129
- uv version "$VERSION"
+ uv version "$LAST_TAG"
+ uv version --bump patch --bump dev="$(date +%Y%m%d%H%M%S)"
130
fi
131
132
0 commit comments