Skip to content

Commit cc4748f

Browse files
committed
Extend the push script to add tagging.
1 parent 3e14012 commit cc4748f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

push-package.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
#!/bin/bash
2+
if [[ "${1}x" == "x" ]]; then
3+
echo "Usage: ${0} <version>"
4+
exit 1
5+
fi
6+
7+
git tag ${1}
8+
git push upstream ${tag}
29

310
npm publish

0 commit comments

Comments
 (0)