Skip to content

Commit

Permalink
ci: Add fetch-tags: true to checkout action
Browse files Browse the repository at this point in the history
When triggered off of a "push" we need tags to be checked out
in order for the setuptools-scm plugin to find the latest tag.
  • Loading branch information
abxy committed Jul 11, 2024
1 parent 8575577 commit 52e9003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true

- uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 52e9003

Please sign in to comment.