File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 5
5
include :
6
6
- os : linux
7
7
dist : ubuntu
8
+ env :
9
+ - PLATFORM="x86_64-linux"
8
10
- os : osx
11
+ env :
12
+ - PLATFORM="x86_64-apple-darwin"
9
13
before_install :
10
14
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libxkbfile-dev
11
15
libsecret-1-dev; fi
@@ -17,7 +21,7 @@ before_deploy:
17
21
- git config --local user.name "$USER_NAME"
18
22
- git config --local user.email "$USER_EMAIL"
19
23
- git tag "$TRAVIS_TAG" "$TRAVIS_COMMIT"
20
- - yarn task package "$TRAVIS_TAG" "$TRAVIS_OS_NAME "
24
+ - yarn task package "$TRAVIS_TAG" "$PLATFORM "
21
25
deploy :
22
26
provider : releases
23
27
file_glob : true
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const nexe = require("nexe");
17
17
nexe . compile ( {
18
18
debugBundle : true ,
19
19
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 ( ) } ` ,
21
21
targets : [ os . platform ( ) ] ,
22
22
/**
23
23
* 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