Skip to content

Commit

Permalink
add support for release candidate suffixes to the release script (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk authored Sep 27, 2022
1 parent 117f778 commit 2bc2a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tag-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
release_version=$1
release_tag="v$1"

if [[ ! $release_version =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
if [[ ! $release_version =~ ^[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$ ]]
then
echo "Invalid release version: $release_version"
echo "Release version must follow the pattern major.minor.patch, e.g. 1.2.3"
Expand Down

0 comments on commit 2bc2a8c

Please sign in to comment.