Skip to content

Commit da987f7

Browse files
committed
Checkout with full history to determine version correctly
1 parent 6b2f17f commit da987f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
id-token: write
1616
steps:
1717
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0 # We need all history to determine the version
1820
- uses: pdm-project/setup-pdm@v4
1921
- name: Publish package distributions to PyPI
2022
run: pdm publish

0 commit comments

Comments
 (0)