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 835750e commit 5f52b3bCopy full SHA for 5f52b3b
.gitignore
@@ -4,3 +4,5 @@ TODOs.md
4
test/e2e/reports
5
test/e2e/screenshots
6
selenium-debug.log
7
+dist/*.gz
8
+dist/*.map
release.sh
@@ -0,0 +1,22 @@
1
+set -e
2
+echo "Enter release version: "
3
+read VERSION
+
+read -p "Releasing $VERSION - are you sure? (y/n)" -n 1 -r
+echo # (optional) move to a new line
+if [[ $REPLY =~ ^[Yy]$ ]]
+then
9
+ echo "Releasing $VERSION ..."
10
+ npm test
11
+ npm run build
12
13
+ # commit
14
+ git add -A
15
+ git commit -m "[build] $VERSION"
16
+ npm version $VERSION --message "[release] $VERSION"
17
18
+ # publish
19
+ git push origin refs/tags/v$VERSION
20
+ git push
21
+ npm publish --tag next
22
+fi
0 commit comments