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 c01f450 commit f1fbec8Copy full SHA for f1fbec8
.github/workflows/release.yml
@@ -223,6 +223,7 @@ jobs:
223
- name: Set output
224
id: set_latest
225
run: |
226
+ uv pip install packaging
227
VERSION=${GITHUB_REF#refs/tags/}
228
LATEST=$(python -c "from packaging import version as pkg_version; print('' if pkg_version.parse('$VERSION').is_prerelease else '1', end='')")
229
echo "LATEST=$LATEST" >> "$GITHUB_OUTPUT"
0 commit comments