diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa168fe..31c74ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Unshallow - if: github.event.ref_type == 'branch' + if: github.event.ref_type != 'tag' run: | git fetch --prune --unshallow git describe --tags