Skip to content

Commit

Permalink
Updaate package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
petekeller2 committed Feb 14, 2021
1 parent 7a4b090 commit d4ab532
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"main": "index.js",
"scripts": {
"test": "ava --tap | tap-nyan",
"tag": "PKG_VER=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g');TAG_CMD=\"git tag -a v$PKG_VER -m 'Version $PKG_VER'\";eval $TAG_CMD;",
"release": "npm run tag | gren release"
"create-release-tag": "PKG_VER=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g');TAG_CMD=\"git tag -a v$(ECHO $PKG_VER | xargs) -m 'Version $PKG_VER'\";eval $TAG_CMD;",
"push-tags": "git push origin --tags",
"release": "npm run create-release-tag | npm run push-tags | gren release"
},
"files": [
"index.js",
Expand Down

0 comments on commit d4ab532

Please sign in to comment.