We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b0a45 commit 49385cfCopy full SHA for 49385cf
3 files changed
deploy.sh
@@ -1,7 +1,5 @@
1
#!/bin/bash
2
-read -e -p "Tag: " ver
3
-sed -i -e "s/\"version\":.*/\"version\": "\"$ver\"",/g" package.json
4
-git add -A && git commit -m "Release v$ver."
5
-git tag "v$ver"
6
-git push origin master && git push --tags
7
-npm publish
+
+echo "Last tag was:" $(git describe --tags --abbrev=0)
+git add -A && git commit -m "prepare release"
+npm run release
0 commit comments