diff --git a/.github/workflows/distribute_package.yml b/.github/workflows/distribute_package.yml index 10f146e..6fe9eab 100644 --- a/.github/workflows/distribute_package.yml +++ b/.github/workflows/distribute_package.yml @@ -58,7 +58,8 @@ jobs: - uses: actions/checkout@v4 with: # We need quite a deep fetch so that we get the versioning right - fetch-depth: 500 + fetch-depth: 500 + fetch-tags: true - name: Install dependencies run: | @@ -92,7 +93,8 @@ jobs: - uses: actions/checkout@v4 with: # We need quite a deep fetch so that we get the versioning right - fetch-depth: 500 + fetch-depth: 500 + fetch-tags: true - name: Build sdist run: pipx run build --sdist