Skip to content

Commit

Permalink
Fetch complete git history
Browse files Browse the repository at this point in the history
Setuptools-scm needs to complete git history in order to determine the correct version number.
  • Loading branch information
gmloose committed Apr 15, 2024
1 parent 2c0a31b commit af99aec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Needed for `setuptools-scm`
fetch-depth: 0

- name: Build sdist
run: pipx run build --sdist
Expand All @@ -33,6 +36,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
# Needed for `setuptools-scm`
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.16
Expand Down

0 comments on commit af99aec

Please sign in to comment.