diff --git a/.github/workflows/distribute_package.yml b/.github/workflows/distribute_package.yml index 901a235..d2694d3 100644 --- a/.github/workflows/distribute_package.yml +++ b/.github/workflows/distribute_package.yml @@ -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: | @@ -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