build rpm and freebsd package
This commit is contained in:
parent
c58312e853
commit
f84fa2492f
|
@ -76,7 +76,9 @@ jobs:
|
||||||
|
|
||||||
- name: Build linux production binaries
|
- name: Build linux production binaries
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: yarn build-release
|
run: |
|
||||||
|
sudo apt-get install -y rpm
|
||||||
|
yarn build-release
|
||||||
|
|
||||||
- name: Remove unpacked files
|
- name: Remove unpacked files
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -73,4 +73,6 @@ jobs:
|
||||||
|
|
||||||
- name: Build linux production binaries
|
- name: Build linux production binaries
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: yarn build-release-publish
|
run: |
|
||||||
|
sudo apt-get install -y rpm
|
||||||
|
yarn build-release-publish
|
||||||
|
|
|
@ -51,8 +51,8 @@
|
||||||
"clean-transpile": "rimraf 'ts/**/*.js ts/*.js' 'ts/*.js.map' 'ts/**/*.js.map' && rimraf tsconfig.tsbuildinfo;",
|
"clean-transpile": "rimraf 'ts/**/*.js ts/*.js' 'ts/*.js.map' 'ts/**/*.js.map' && rimraf tsconfig.tsbuildinfo;",
|
||||||
"ready": "yarn clean-transpile; yarn grunt && yarn lint-full && yarn test",
|
"ready": "yarn clean-transpile; yarn grunt && yarn lint-full && yarn test",
|
||||||
"build:webpack:sql-worker": "cross-env NODE_ENV=production webpack -c webpack-sql-worker.config.ts",
|
"build:webpack:sql-worker": "cross-env NODE_ENV=production webpack -c webpack-sql-worker.config.ts",
|
||||||
"sedtoAppImage": "sed -i 's/\"target\": \"deb\"/\"target\": \"AppImage\"/g' package.json",
|
"sedtoAppImage": "sed -i 's/\"target\": [\"deb\", \"rpm\", \"freebsd\"]/\"target\": \"AppImage\"/g' package.json",
|
||||||
"sedtoDeb": "sed -i 's/\"target\": \"AppImage\"/\"target\": \"deb\"/g' package.json"
|
"sedtoDeb": "sed -i 's/\"target\": \"AppImage\"/\"target\": [\"deb\", \"rpm\", \"freebsd\"]/g' package.json"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@reduxjs/toolkit": "^1.4.0",
|
"@reduxjs/toolkit": "^1.4.0",
|
||||||
|
@ -275,7 +275,7 @@
|
||||||
"StartupWMClass": "Session"
|
"StartupWMClass": "Session"
|
||||||
},
|
},
|
||||||
"asarUnpack": "node_modules/spellchecker/vendor/hunspell_dictionaries",
|
"asarUnpack": "node_modules/spellchecker/vendor/hunspell_dictionaries",
|
||||||
"target": "deb",
|
"target": ["deb", "rpm", "freebsd"],
|
||||||
"icon": "build/icon.icns"
|
"icon": "build/icon.icns"
|
||||||
},
|
},
|
||||||
"asarUnpack": [
|
"asarUnpack": [
|
||||||
|
|
Loading…
Reference in New Issue