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:
Joel Collins 2019-05-03 15:22:49 +00:00
commit d845651bc3
2 changed files with 15 additions and 0 deletions

13
.gitlab-ci.yml Normal file
View 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

View file

@ -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",