Merge branch 'master' into 'master'
Added CI to build installers on release tags See merge request openflexure/openflexure-microscope-jsclient!8
This commit is contained in:
commit
d845651bc3
2 changed files with 15 additions and 0 deletions
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
image: electronuserland/builder:wine
|
||||
|
||||
build:
|
||||
script:
|
||||
- npm install
|
||||
- npm run release
|
||||
artifacts:
|
||||
paths:
|
||||
- release-builds/*.exe
|
||||
- release-builds/*.deb
|
||||
- release-builds/*.AppImage
|
||||
only:
|
||||
- tags
|
||||
|
|
@ -13,6 +13,8 @@
|
|||
"scripts": {
|
||||
"dist": "build",
|
||||
"dist:win": "build --win",
|
||||
"dist:all": "build --linux --win",
|
||||
"release": "npm run build:web && npm run dist:all",
|
||||
"build:android": "npm run setup-webpack-config && tns build android --bundle --env.production && npm run remove-webpack-config",
|
||||
"build:ios": "npm run setup-webpack-config && tns build ios --bundle --env.production && npm run remove-webpack-config",
|
||||
"build:web": "vue-cli-service build --mode production.web",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue