Skip to content

Commit

Permalink
Add create tag script
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Jun 6, 2022
1 parent 719c529 commit 30efbd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tmp
.eslintrc.json
.gitignore
Dockerfile
test-driver.sh
*.sh
testInstall.js
update.js
*.tgz
Expand Down
8 changes: 8 additions & 0 deletions create-tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

git pull origin main
VERSION=`jq -r .version package.json`
git log -n 1
git tag -s $VERSION -m $VERSION
git tag -v $VERSION
git push origin --tags

0 comments on commit 30efbd6

Please sign in to comment.