Skip to content

Commit

Permalink
As PYPI strips the git commit hash from the version, I've removed the…
Browse files Browse the repository at this point in the history
… day specifier for a simple increment
  • Loading branch information
tombreit committed Dec 30, 2024
1 parent 94d40ed commit 1fddb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tagging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
VERSION=v$(date +'%Y.%-m.%-d')+$(git rev-parse --short HEAD)
VERSION=v$(date +'%Y.%-m').$GITHUB_RUN_NUMBER+$(git rev-parse --short HEAD)
# Store the tag name in an environment variable for later use/steps
echo "TAG_NAME=$VERSION" >> $GITHUB_ENV
git tag -a "$VERSION" -m "Release $VERSION"
Expand Down

0 comments on commit 1fddb08

Please sign in to comment.