build: build after versioning

This commit is contained in:
EnixCoda 2018-11-08 14:54:31 +08:00
parent e67fda0586
commit 201085bebf
No known key found for this signature in database
GPG key ID: 6825847C88AA329A

View file

@ -9,7 +9,7 @@
"scripts": {
"postinstall": "node scripts/generate-octicon.js",
"start": "webpack --watch",
"postversion": "node scripts/version.js",
"postversion": "node scripts/version.js && npm run build",
"build": "NODE_ENV=production webpack && npm run postbuild",
"postbuild": "cd dist && rm -f ./gitako.zip && zip gitako.zip -r *"
},