This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
release-rc () { | |
rctag=$1 | |
project=$2 | |
# Validates tag name | |
regex='^[0-9]+\.[0-9]+\.[0-9]+' | |
if [[ ! $rctag =~ $regex ]]; then | |
echo "Tag version is not following the pattern" |