File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 55 include :
66 - os : linux
77 dist : ubuntu
8+ env :
9+ - PLATFORM="x86_64-linux"
810 - os : osx
11+ env :
12+ - PLATFORM="x86_64-apple-darwin"
913before_install :
1014- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libxkbfile-dev
1115 libsecret-1-dev; fi
@@ -17,7 +21,7 @@ before_deploy:
1721- git config --local user.name "$USER_NAME"
1822- git config --local user.email "$USER_EMAIL"
1923- git tag "$TRAVIS_TAG" "$TRAVIS_COMMIT"
20- - yarn task package "$TRAVIS_TAG" "$TRAVIS_OS_NAME "
24+ - yarn task package "$TRAVIS_TAG" "$PLATFORM "
2125deploy :
2226 provider : releases
2327 file_glob : true
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const nexe = require("nexe");
1717nexe . compile ( {
1818 debugBundle : true ,
1919 input : path . join ( __dirname , "../out/cli.js" ) ,
20- output : `cli-${ process . env . TRAVIS_OS_NAME || os . platform ( ) } ` ,
20+ output : `cli-${ process . env . PLATFORM || os . platform ( ) } ` ,
2121 targets : [ os . platform ( ) ] ,
2222 /**
2323 * To include native extensions, do NOT install node_modules for each one. They
You can’t perform that action at this time.
0 commit comments