Skip to content

Commit

Permalink
chore: add tag scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peefy committed Oct 25, 2023
1 parent deddef0 commit 680b874
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ dist:
.PHONY: release
release: lint dist
scripts/release.sh v$(VERSION)

.PHONY: tag
tag:
scripts/tag.sh v$(VERSION)
7 changes: 7 additions & 0 deletions scripts/tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env sh
set -e
if [ "$1" == "" ]; then
echo usage: "$0 VERSION"
fi
git tag $1
git push origin $1

0 comments on commit 680b874

Please sign in to comment.