Skip to content

Commit

Permalink
Update automatic tag creation validation for Minor Version
Browse files Browse the repository at this point in the history
Signed-off-by: Shameem Ahmed <[email protected]>
(cherry picked from commit b083fb3)
  • Loading branch information
ahmed-shameem committed Nov 12, 2024
1 parent d47d57d commit 36ad968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/create-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ fi

# check the tag format (need manual update when necessary)
format=BABEL_
if ! [[ "$new" =~ "$format"[0-9]_[0-9]_[0-9] ]]
if ! [[ "$new" =~ "$format"[0-9]_[0-9]+_[0-9] ]]
then
echo "Error: Invalid tag prefix, expected: ${format}<digit>_<digit>_<digit>"
echo "Error: Invalid tag prefix, expected: ${format}<digit>_<number>_<digit>"
exit 1
fi

Expand Down

0 comments on commit 36ad968

Please sign in to comment.