Skip to content

Commit

Permalink
Remove temporary restrictions on automatically tagging releases
Browse files Browse the repository at this point in the history
  • Loading branch information
johngmyers committed Jan 1, 2022
1 parent 6d8b4a5 commit 7603f4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- master
#- 'release-*'
- 'release-*'
paths:
- version.go

Expand Down
6 changes: 0 additions & 6 deletions hack/tag-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ if [ "$(git tag -l "v${VERSION}")" ]; then
exit 0
fi

# TODO remove this when we're comfortable with how it works
if [[ ! "${VERSION}" =~ -alpha ]]; then
echo "Only automatically tagging alpha releases for now"
exit 1
fi

git tag -a -m "Release ${VERSION}" "v${VERSION}"
git push origin "v${VERSION}"

Expand Down

0 comments on commit 7603f4c

Please sign in to comment.