diff --git a/scripts/tag_release.sh b/scripts/tag_release.sh new file mode 100755 index 0000000..8ea0e09 --- /dev/null +++ b/scripts/tag_release.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +if [[ ! $1 =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then + echo "Tag must match v1.2.3" + exit 1 +fi + +git tag $1 +git push origin $1