Skip to content

Commit

Permalink
Update create-tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
johmedr authored Dec 6, 2024
1 parent 7c92698 commit a9bf909
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
- name: Get package version
run: |
VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)
echo "pyproject.toml version: $VERSION"
git config user.name github-actions
git config user.email github-actions@github.com
MSG=$(git log $(git describe --tags --abbrev=0)..HEAD --oneline)
echo "Creating tag $VERSION with message:"
echo "$MSG"
git tag -a "$VERSION" -m "$MSG"
- name: Publish tags
Expand Down

0 comments on commit a9bf909

Please sign in to comment.