Skip to content

Commit

Permalink
build: add tag_release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Jan 25, 2024
1 parent 56c4f65 commit d6cfebd
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 =~ ^(eslint-config-react|prettier-config-react)@v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Tag must match [email protected] or [email protected]"
exit 1
fi

git tag $1
git push origin $1

0 comments on commit d6cfebd

Please sign in to comment.