Skip to content

Commit

Permalink
Use config.extraMetadata instead of em
Browse files Browse the repository at this point in the history
Prevents `Unknown argument: em` error.

See: electron-userland/electron-builder#2615
  • Loading branch information
gasi committed Mar 1, 2018
1 parent 3e07ebd commit 603f47d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ script:
- yarn eslint
- yarn test-server
- yarn lint
- ./node_modules/.bin/build --em.environment=$SIGNAL_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --publish=never
- $(yarn bin)/build --config.extraMetadata.environment=$SIGNAL_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --publish=never
- ./travis.sh
env:
global:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build_script:
- type package.json | findstr /v certificateSubjectName > temp.json
- move temp.json package.json
- yarn prepare-beta-build
- node_modules\.bin\build --em.environment=%SIGNAL_ENV% --publish=never
- node_modules\.bin\build --config.extraMetadata.environment=%SIGNAL_ENV% --publish=never

test_script:
- node build\grunt.js test
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"asarl": "asar l release/mac/Signal.app/Contents/Resources/app.asar",
"icon-gen": "electron-icon-maker --input=images/icon_1024.png --output=./build",
"generate": "npm run icon-gen && grunt",
"build": "build --em.environment=$SIGNAL_ENV",
"build": "build --config.extraMetadata.environment=$SIGNAL_ENV",
"dist": "npm run generate && npm run build",
"pack": "npm run generate && npm run build -- --dir",
"prepare-beta-build": "node prepare_beta_build.js",
Expand Down

0 comments on commit 603f47d

Please sign in to comment.