Skip to content

Commit 2f6ed67

Browse files
committed
Fetch the entire history in GH action.
Looks like getting only the tags is not enough for `setuptools-scm` to generate the version tag. I believe `fetch-tags` is implied if `fetch-depth` is set to `0`.
1 parent e26173d commit 2f6ed67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-to-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
with:
13-
fetch-tags: true
13+
fetch-depth: 0
1414
- name: Set up Python
1515
uses: actions/setup-python@v5
1616
with:

0 commit comments

Comments
 (0)