mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
Merge remote-tracking branch 'origin/build/commands' into develop
This commit is contained in:
commit
69dc0bd21a
2 changed files with 5 additions and 4 deletions
|
|
@ -9,8 +9,9 @@
|
|||
"scripts": {
|
||||
"postinstall": "node scripts/generate-octicon.js",
|
||||
"start": "webpack --watch",
|
||||
"postversion": "node scripts/version.js && npm run build",
|
||||
"build": "./scripts/roll.sh"
|
||||
"postversion": "node scripts/version.js && npm run roll",
|
||||
"build": "NODE_ENV=production webpack",
|
||||
"roll": "./scripts/roll.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/browser": "^4.6.4",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
rm -rf dist
|
||||
NODE_ENV=production yarn webpack
|
||||
yarn build
|
||||
|
||||
GITAKO_VERSION=v$(node scripts/get-version.js)
|
||||
echo "Got version $GITAKO_VERSION"
|
||||
|
|
@ -12,4 +12,4 @@ yarn sentry-cli releases finalize "$GITAKO_VERSION"
|
|||
|
||||
cd dist
|
||||
rm -f ./gitako.zip
|
||||
zip -r gitako.zip * -x *.map
|
||||
zip -r gitako.zip * -x *.map
|
||||
|
|
|
|||
Loading…
Reference in a new issue