Skip to content

Commit

Permalink
For github CI, pull in all tags so setuptools_scm can use them
Browse files Browse the repository at this point in the history
  • Loading branch information
sdh4 committed Jul 15, 2024
1 parent 288a896 commit e59099d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/push-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Get history and tags for SCM versioning to work
run:
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit e59099d

Please sign in to comment.