更新正式版构建流程
parent
60f98ac438
commit
0372f0647b
|
@ -71,7 +71,7 @@ jobs:
|
|||
|
||||
- name: Release package
|
||||
run: |
|
||||
npm run publish:win:7z:x64:always
|
||||
npm run publish:win:7z:x64
|
||||
npm run publish:win:setup:arm64
|
||||
npm run publish:win:setup:x64
|
||||
npm install electron@22
|
||||
|
@ -120,7 +120,7 @@ jobs:
|
|||
|
||||
- name: Release package
|
||||
run: |
|
||||
npm run publish:mac:dmg:always
|
||||
npm run publish:mac:dmg
|
||||
npm run publish:mac:dmg:arm64
|
||||
env:
|
||||
ELECTRON_CACHE: $HOME/.cache/electron
|
||||
|
@ -170,7 +170,7 @@ jobs:
|
|||
|
||||
- name: Release package
|
||||
run: |
|
||||
npm run publish:linux:deb:amd64:always
|
||||
npm run publish:linux:deb:amd64
|
||||
npm run publish:linux:deb:arm64
|
||||
npm run publish:linux:deb:armv7l
|
||||
npm run publish:linux:appImage
|
||||
|
|
40
package.json
40
package.json
|
@ -33,28 +33,26 @@
|
|||
"pack:mac:dmg:arm64": "node build-config/build-pack.js target=mac arch=arm64 type=dmg",
|
||||
"pack:dir": "node build-config/pack.js && node build-config/build-pack.js target=dir",
|
||||
"publish": "node publish",
|
||||
"publish:win:setup:x64": "node build-config/build-pack.js target=win arch=x64 type=setup publish=onTagOrDraft",
|
||||
"publish:win:setup:x86": "node build-config/build-pack.js target=win arch=x86 type=setup publish=onTagOrDraft",
|
||||
"publish:win:setup:arm64": "node build-config/build-pack.js target=win arch=arm64 type=setup publish=onTagOrDraft",
|
||||
"publish:win:setup:x86_64": "node build-config/build-pack.js target=win arch=x86_64 type=setup publish=onTagOrDraft",
|
||||
"publish:win:setup:x64": "node build-config/build-pack.js target=win arch=x64 type=setup publish=always",
|
||||
"publish:win:setup:x86": "node build-config/build-pack.js target=win arch=x86 type=setup publish=always",
|
||||
"publish:win:setup:arm64": "node build-config/build-pack.js target=win arch=arm64 type=setup publish=always",
|
||||
"publish:win:setup:x86_64": "node build-config/build-pack.js target=win arch=x86_64 type=setup publish=always",
|
||||
"publish:win:portable": "npm run publish:win:portable:x86_64 && npm run publish:win:portable:x64 && npm run publish:win:portable:x86",
|
||||
"publish:win:portable:x86_64": "node build-config/build-pack.js target=win arch=x86_64 type=portable publish=onTagOrDraft",
|
||||
"publish:win:portable:x64": "node build-config/build-pack.js target=win arch=x64 type=portable publish=onTagOrDraft",
|
||||
"publish:win:portable:x86": "node build-config/build-pack.js target=win arch=x86 type=portable publish=onTagOrDraft",
|
||||
"publish:win:7z:x64:always": "node build-config/build-pack.js target=win arch=x64 type=green publish=always",
|
||||
"publish:win:7z:arm64": "node build-config/build-pack.js target=win arch=arm64 type=green publish=onTagOrDraft",
|
||||
"publish:win7:7z:x64": "node build-config/build-pack.js target=win arch=x64 type=win7_green publish=onTagOrDraft",
|
||||
"publish:win7:7z:x86": "node build-config/build-pack.js target=win arch=x86 type=win7_green publish=onTagOrDraft",
|
||||
"publish:mac:dmg:always": "node build-config/build-pack.js target=mac arch=x64 type=dmg publish=always",
|
||||
"publish:mac:dmg": "node build-config/build-pack.js target=mac arch=x64 type=dmg publish=onTagOrDraft",
|
||||
"publish:mac:dmg:arm64": "node build-config/build-pack.js target=mac arch=arm64 type=dmg publish=onTagOrDraft",
|
||||
"publish:linux:deb:amd64:always": "node build-config/build-pack.js target=linux arch=x64 type=deb publish=always",
|
||||
"publish:linux:deb:amd64": "node build-config/build-pack.js target=linux arch=x64 type=deb publish=onTagOrDraft",
|
||||
"publish:linux:deb:arm64": "node build-config/build-pack.js target=linux arch=arm64 type=deb publish=onTagOrDraft",
|
||||
"publish:linux:deb:armv7l": "node build-config/build-pack.js target=linux arch=armv7l type=deb publish=onTagOrDraft",
|
||||
"publish:linux:appImage": "node build-config/build-pack.js target=linux arch=x64 type=appImage publish=onTagOrDraft",
|
||||
"publish:linux:rpm": "node build-config/build-pack.js target=linux arch=x64 type=rpm publish=onTagOrDraft",
|
||||
"publish:linux:pacman": "node build-config/build-pack.js target=linux arch=x64 type=pacman publish=onTagOrDraft",
|
||||
"publish:win:portable:x86_64": "node build-config/build-pack.js target=win arch=x86_64 type=portable publish=always",
|
||||
"publish:win:portable:x64": "node build-config/build-pack.js target=win arch=x64 type=portable publish=always",
|
||||
"publish:win:portable:x86": "node build-config/build-pack.js target=win arch=x86 type=portable publish=always",
|
||||
"publish:win:7z:x64": "node build-config/build-pack.js target=win arch=x64 type=green publish=always",
|
||||
"publish:win:7z:arm64": "node build-config/build-pack.js target=win arch=arm64 type=green publish=always",
|
||||
"publish:win7:7z:x64": "node build-config/build-pack.js target=win arch=x64 type=win7_green publish=always",
|
||||
"publish:win7:7z:x86": "node build-config/build-pack.js target=win arch=x86 type=win7_green publish=always",
|
||||
"publish:mac:dmg": "node build-config/build-pack.js target=mac arch=x64 type=dmg publish=always",
|
||||
"publish:mac:dmg:arm64": "node build-config/build-pack.js target=mac arch=arm64 type=dmg publish=always",
|
||||
"publish:linux:deb:amd64": "node build-config/build-pack.js target=linux arch=x64 type=deb publish=always",
|
||||
"publish:linux:deb:arm64": "node build-config/build-pack.js target=linux arch=arm64 type=deb publish=always",
|
||||
"publish:linux:deb:armv7l": "node build-config/build-pack.js target=linux arch=armv7l type=deb publish=always",
|
||||
"publish:linux:appImage": "node build-config/build-pack.js target=linux arch=x64 type=appImage publish=always",
|
||||
"publish:linux:rpm": "node build-config/build-pack.js target=linux arch=x64 type=rpm publish=always",
|
||||
"publish:linux:pacman": "node build-config/build-pack.js target=linux arch=x64 type=pacman publish=always",
|
||||
"dev": "cross-env NODE_OPTIONS=--max-http-header-size=200000 node build-config/runner-dev.js",
|
||||
"build:theme": "node src/common/theme/createThemes.js",
|
||||
"build": "node build-config/pack.js",
|
||||
|
|
Loading…
Reference in New Issue