Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonynsimon committed Jul 2, 2024
1 parent 4ebd8cc commit 3a83551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ fi

RELEASE=$1

if ! [[ $RELEASE =~ ^([0-9.]+)$ ]]; then
echo "Release tag does not match expected pattern: MAJOR.MINOR.PATCH"
if ! [[ $RELEASE =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
echo "Release tag does not match expected pattern: vMAJOR.MINOR.PATCH"
exit 1
fi

Expand Down

0 comments on commit 3a83551

Please sign in to comment.