Skip to content

Commit

Permalink
ci: remove branch check when verifying release tag
Browse files Browse the repository at this point in the history
Signed-off-by: Elijah Zupancic <[email protected]>
  • Loading branch information
dekobon committed Sep 2, 2021
1 parent f31f65a commit 40a1e42
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/is_release_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ set -o pipefail # don't hide errors within pipes

BRANCH="$(git branch --show-current)"
BRANCH="${BRANCH//[$'\t\r\n']}"

if [ "${BRANCH}" != "master" ]; then
>&2 echo "not on master branch"
exit 1
fi
>&2 echo "current branch: ${BRANCH}"

if [ -z "${VERSION:-}" ]; then
>&2 echo "reading version from file .version"
Expand Down

0 comments on commit 40a1e42

Please sign in to comment.