From 2d91b6bf483eba1d9ecb01b8aae8d6b6ea473ae9 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Mon, 25 Apr 2022 20:15:28 -0700 Subject: [PATCH] Can only release when there is a tag --- .github/workflows/build-and-sign-macos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-and-sign-macos.yml b/.github/workflows/build-and-sign-macos.yml index 10cdd5a..835beb3 100644 --- a/.github/workflows/build-and-sign-macos.yml +++ b/.github/workflows/build-and-sign-macos.yml @@ -40,6 +40,7 @@ jobs: xattr -lp hishtory-darwin-amd64 >> hishtory-darwin-amd64.xattr - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: files: | hishtory-darwin-arm64.xattr