diff --git a/.github/workflows/push-to-pypi.yml b/.github/workflows/push-to-pypi.yml index 55c6340..b630348 100644 --- a/.github/workflows/push-to-pypi.yml +++ b/.github/workflows/push-to-pypi.yml @@ -9,7 +9,7 @@ jobs: - name: perform checkout uses: actions/checkout@v4 - name: Get history and tags for SCM versioning to work - run: + run: | git fetch --prune --unshallow git fetch --depth=1 origin +refs/tags/*:refs/tags/*