Skip to content

Commit 60bd848

Browse files
committed
Fix package version detection in github actions
1 parent 4d4059f commit 60bd848

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
fetch-tags: true
1921
- name: Build wheels
2022
uses: pypa/[email protected]
2123
- uses: actions/upload-artifact@v3
@@ -27,6 +29,8 @@ jobs:
2729
runs-on: ubuntu-latest
2830
steps:
2931
- uses: actions/checkout@v4
32+
with:
33+
fetch-tags: true
3034
- name: Build sdist
3135
run: pipx run build --sdist
3236
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)