From cdc4c1e9e1358e174ea35f05484afc29a5cc76cf Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sun, 10 Jul 2022 20:54:22 +0000 Subject: [PATCH] Do not fail if tag exists --- .github/workflows/tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 6c7aa11..7e08e98 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -19,4 +19,4 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git tag "v${{ steps.determine-version.outputs.version }}" -a -m "Create new release" - git push origin "v${{ steps.determine-version.outputs.version }}" + git push origin "v${{ steps.determine-version.outputs.version }}" || echo "Tag already exists, skipping."