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