From 4c8669cf99842ff21975c64dfe77863505823ad4 Mon Sep 17 00:00:00 2001 From: Russell Anderson <5637107+rpanderson@users.noreply.github.com> Date: Sun, 17 May 2020 23:47:45 +1000 Subject: [PATCH] Don't unshallow for tag creation events (resolves #13) --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) 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