Skip to content

Commit

Permalink
Fetch the entire history in GH action.
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
itsjohncs committed Jul 30, 2024
1 parent e26173d commit 2f6ed67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 2f6ed67

Please sign in to comment.