Skip to content

Commit

Permalink
fix the tagging for automatic release
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndtaylor committed Jun 3, 2024
1 parent 1f7108c commit a674357
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pypi-publish-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,19 @@ jobs:
- name: Build
run: pdm build
- name: Update git release tag
id: tagger
run: |
git config --global user.name 'Auto'
git config --global user.email '[email protected]'
pdm bump tag && git push --tags
echo "tag=$( pdm show --version )" >> "$GITHUB_OUTPUT"
- name: Test and get reports
run: pdm reports
- uses: "marvinpinto/action-automatic-releases@latest"
id: gh-release
with:
prerelease: false
automatic_release_tag: ${{ steps.tagger.tag }}
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: |
dist/*
Expand Down

0 comments on commit a674357

Please sign in to comment.