We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b951d commit 076fed0Copy full SHA for 076fed0
.npmignore
@@ -9,6 +9,7 @@
9
/.travis.yml
10
/.vscode
11
/coverage
12
+/tag-release.sh
13
/test/.eslintrc.yaml
14
/test/integration
15
__*
tag-release.sh
@@ -0,0 +1,9 @@
1
+#!/usr/bin/env bash
2
+
3
+set -euo pipefail
4
5
+RELEASE_VER=$(node -p 'JSON.parse(require("fs").readFileSync("./package.json", "utf8")).version')
6
7
+GIT_TAG_NAME=v$RELEASE_VER
8
+git tag -a $GIT_TAG_NAME -m $GIT_TAG_NAME
+git push origin $GIT_TAG_NAME
0 commit comments