Skip to content

Commit

Permalink
feat(auto-update): adds github releases electron-builder config (#419)
Browse files Browse the repository at this point in the history
* feat(auto-update): adds github releases electron-builder config

re #371

* chore(release): bump version to 3.0.10.1-alpha

* fix(auto-updater): removes publish never flag on build command

* chore(release): bumps version to 3.0.11-alpha

* ci(auto-updater): removes deploy step from travis
  • Loading branch information
2xAA authored Sep 13, 2020
1 parent 272fa90 commit 64177cf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
15 changes: 3 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,11 @@ before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then wget https://github.com/Palakis/obs-ndi/releases/download/4.9.0/libndi4_4.5.1-1_amd64.deb && sudo dpkg -i libndi4_4.5.1-1_amd64.deb; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ] || [ "$TRAVIS_OS_NAME" = "linux" ]; then unset CSC_KEY_PASSWORD CSC_LINK; fi
script:
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then yarn run electron:build -w --publish=never; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then yarn run electron:build -m --publish=never; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then yarn run electron:build -l --publish=never; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then yarn run electron:build -w; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then yarn run electron:build -m; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then yarn run electron:build -l ; fi
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
skip_cleanup: true
file: "./dist_electron/*.{exe,snap,dmg,AppImage}"
on:
repo: vcync/modV
all_branches: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"productName": "modV",
"description": "modular audio visualisation powered by JavaScripts",
"author": "vcync",
"version": "3.0.10-alpha",
"version": "3.0.11-alpha",
"private": false,
"homepage": "https://modv.vcync.gl/",
"repository": {
Expand Down
8 changes: 7 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,13 @@ module.exports = {
sign: false
},

afterSign: "notarize.js"
afterSign: "notarize.js",

publish: {
provider: "github",
releaseType: "prerelease",
vPrefixedTagName: false
}
},

chainWebpackMainProcess: config => {
Expand Down

0 comments on commit 64177cf

Please sign in to comment.