From 9f6bbd609cdc8491eaa45c6864f6f1c4d0ad7037 Mon Sep 17 00:00:00 2001 From: Russell Anderson <5637107+rpanderson@users.noreply.github.com> Date: Mon, 18 May 2020 00:28:50 +1000 Subject: [PATCH] Fixed bug in conditional unshallow when resolving #12 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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