From 7a1a6354df77bac58dafda7ae9d5e60a15118be0 Mon Sep 17 00:00:00 2001 From: Cutls Date: Mon, 27 May 2019 02:21:40 +0900 Subject: [PATCH] travis 17 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d96ed3e8..4e1beca0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ script: node -v before_deploy: - npm install electron-builder -g - cd app - - if [ "$TRAVIS_OS_NAME" = "windows" ];then VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json);else :;fi + - VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json) - 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