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.
--always
git describe
1 parent f50fd89 commit 9245ba5Copy full SHA for 9245ba5
1 file changed
.github/workflows/publish-to-pypi-on-new-tag.yml
@@ -20,7 +20,7 @@ jobs:
20
- id: project
21
run: |
22
git fetch --tags
23
- TAG=$(git describe --tags --abbrev=0)
+ TAG=$(git describe --tags --abbrev=0 --always)
24
echo "The tag is: $TAG"
25
PROJECT=$(echo "$TAG" | sed -E 's/-\d+(\.\d+)+$//') # e.g. sys-lang-1.0.4 -> sys-lang
26
echo "PROJECT=$PROJECT" >> $GITHUB_ENV
0 commit comments