We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98e2790 commit 034eedeCopy full SHA for 034eede
1 file changed
bin/bump.sh
@@ -0,0 +1,22 @@
1
+#!/usr/bin/env sh
2
+
3
+set -e
4
5
+VERSION="$1"
6
7
+if [ -z "$VERSION" ]
8
+then
9
+ echo "error: version not set"
10
+ exit 1
11
+fi
12
13
+echo "setting to $VERSION"
14
15
+npm version --no-git-tag-version --allow-same-version -C cli $VERSION
16
+npm version --no-git-tag-version --allow-same-version -C website $VERSION
17
18
+npm version --no-git-tag-version --allow-same-version $VERSION
19
+git add website/package*.json cli/package*.json package*.json
20
21
+git commit -m "$VERSION"
22
+git tag "v$VERSION" -m "$VERSION"
0 commit comments