diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 7012acb..bc16c69 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -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 @@ -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