travis 18
This commit is contained in:
parent
7a1a6354df
commit
938ff926c3
|
@ -9,7 +9,7 @@ script: node -v
|
|||
before_deploy:
|
||||
- npm install electron-builder -g
|
||||
- cd app
|
||||
- VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
|
||||
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
|
||||
- npm install
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user