Skip to content

Commit

Permalink
Support rc release tags (#1725)
Browse files Browse the repository at this point in the history
Similar to alpha and beta, adding 'rc' to a release tag will skip
publishing the release.
  • Loading branch information
benr authored Sep 13, 2023
1 parent a08097d commit 6524f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Skip Publish for Alpha and Beta Tags
id: skip-publish
if: contains(github.ref, 'alpha') || contains(github.ref, 'beta') || inputs.skip-publish == 'true'
if: contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') || inputs.skip-publish == 'true'
run: |
echo "Skipping publish for alpha and beta tags"
echo "skip-publish=true" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 6524f54

Please sign in to comment.