From 69c5ed1dd097b7fa34be195ade3c8c8e714ebe1a Mon Sep 17 00:00:00 2001 From: cyberbit Date: Sat, 12 Aug 2023 03:30:58 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20only=20tag=20on=20push=20to=20ma?= =?UTF-8?q?in?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0098ef4..d4ba738 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,6 +47,7 @@ jobs: # via https://github.com/softprops/action-gh-release/issues/270 - name: Create tag id: tag + if: ${{ github.ref == 'refs/heads/main' }} run: | TAG=v0.0.0+$(date -Iseconds | sed 's/[-T:\+]//g') echo "$TAG"