Skip to content

Commit

Permalink
Change the git repo fetch depth to fix version number in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Finnie committed Aug 3, 2024
1 parent e5e2d7c commit 20a20f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/distribute_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:

steps:
- uses: actions/checkout@v4
# We need quite a deep fetch so that we get the versioning right
fetch-depth: 500

- name: Install dependencies
run: |
Expand Down Expand Up @@ -87,6 +89,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# We need quite a deep fetch so that we get the versioning right
fetch-depth: 500

- name: Build sdist
run: pipx run build --sdist
Expand Down

0 comments on commit 20a20f4

Please sign in to comment.