Skip to content

Commit

Permalink
fix tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
blairhudson committed Jan 12, 2025
1 parent e42d7ed commit 1d6223b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ jobs:
- name: Bump version and tag
run: |
uv run bump-version
echo "NEW_VERSION=$(uv run get-version)" >> $GITHUB_ENV
NEW_VERSION=$(uv run get-version)
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add pyproject.toml uv.lock
git commit -m "Bump version to ${{ env.NEW_VERSION }}"
git tag v${{ env.NEW_VERSION }}
git tag v$NEW_VERSION
- name: Push changes and tags
env:
Expand Down

0 comments on commit 1d6223b

Please sign in to comment.