Do not fail if tag exists

This commit is contained in:
Joel Wachsler 2022-07-10 20:54:22 +00:00
parent 8938fe3a19
commit cdc4c1e9e1

View File

@ -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."