Skip to content

Commit

Permalink
Fix typo in branch check.
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Dec 13, 2023
1 parent 474395c commit b2accb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Verify that the current branch has a name that starts with 'release-'
run: |
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$CURRENT_BRANCH" == version-* ]]; then
echo "Branch name starts with 'version-'."
if [[ "$CURRENT_BRANCH" == release-* ]]; then
echo "Branch name starts with 'release-'."
else
echo "Branch name does not start with 'version-'."
echo "Branch name does not start with 'release-'."
exit 1
fi
Expand Down

0 comments on commit b2accb1

Please sign in to comment.