Skip to content

Instantly share code, notes, and snippets.

View blbacelar's full-sized avatar
💭
I may be slow to respond.

Bruno Bacelar blbacelar

💭
I may be slow to respond.
View GitHub Profile
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"