Skip to content

Instantly share code, notes, and snippets.

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"