Skip to content

Commit

Permalink
build: add tag_release script
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Jan 25, 2024
1 parent 3679fe1 commit b237220
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/tag_release.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b237220

Please sign in to comment.