Skip to content

Commit

Permalink
Checkout with full history to determine version correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Feb 7, 2025
1 parent 6b2f17f commit da987f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # We need all history to determine the version
- uses: pdm-project/setup-pdm@v4
- name: Publish package distributions to PyPI
run: pdm publish

0 comments on commit da987f7

Please sign in to comment.