We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97306fe commit ad0ef19Copy full SHA for ad0ef19
package.json
@@ -23,7 +23,9 @@
23
"uuid": "^3.2.1"
24
},
25
"scripts": {
26
- "deploy:patch": "npm run build && npm run clean:gh-pages && npm run gh-pages-populate && sh ./scripts/deploy.sh",
+ "deploy": "npm run build && npm run clean:gh-pages && npm run gh-pages-populate && sh ./scripts/deploy.sh patch",
27
+ "deploy:patch": "npm run deploy patch",
28
+ "deploy:minor": "npm run deploy minor",
29
"gh-pages-populate": "copyfiles 'build/**/*' gh-pages/ --up 1",
30
"clean:gh-pages": "rimraf gh-pages/*",
31
"clean:glslify": "rimraf ./src/shaders/*.generated.ts",
scripts/deploy.sh
@@ -1,7 +1,7 @@
1
#!/usr/bin/env bash
2
set -e
3
4
-VERSION=$(npm version patch)
+VERSION=$(npm version $1)
5
VERSION=$(echo $VERSION | cut -c 2-)
6
7
cd gh-pages
0 commit comments