From 2f70ffd3e739aef55c5c9cac2330c766322fd706 Mon Sep 17 00:00:00 2001 From: Ivan Finch Date: Fri, 13 Sep 2024 10:18:01 +0100 Subject: [PATCH] Another attempt to make git tags work in the build --- .github/workflows/publish-to-test-pypi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index fe56b41..9fadf17 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -66,6 +66,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Needed to fetch the tags - name: Set up Python uses: actions/setup-python@v5 with: