WORKFLOW: Build artifacts and upload to release (#2120)

This commit is contained in:
catloversg
2025-05-14 23:07:26 +07:00
committed by GitHub
parent 5e2d038e05
commit 69cc3b69b5
4 changed files with 128 additions and 2 deletions

View File

@@ -126,7 +126,9 @@
"watch": "webpack --watch --mode production",
"watch:dev": "webpack --watch --mode development",
"electron": "bash ./tools/package-electron.sh",
"electron:packager-all": "electron-packager .package bitburner --platform all --arch x64,armv7l,arm64,mips64el --out .build --overwrite --icon .package/icon.png --app-copyright \"Copyright (C) 2024 Bitburner\"",
"electron-win": "bash ./tools/package-electron.sh win",
"electron-linux": "bash ./tools/package-electron.sh linux",
"electron-mac": "bash ./tools/package-electron.sh mac",
"preversion": "npm install && npm run test",
"version": "sh ./tools/build-release.sh && git add --all",
"postversion": "git push -u origin dev && git push --tags",