(experiment) Use npx for create-dmg
This commit is contained in:
parent
229274f9c8
commit
1435710c16
4 changed files with 7 additions and 6 deletions
|
@ -13,6 +13,11 @@ matrix:
|
|||
env: BUILDARCH=arm
|
||||
dist: trusty
|
||||
- os: osx
|
||||
addons:
|
||||
homebrew:
|
||||
packages:
|
||||
- jq
|
||||
- zip
|
||||
|
||||
language: node_js
|
||||
node_js: "12.14.1"
|
||||
|
|
1
build.sh
1
build.sh
|
@ -34,7 +34,6 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||
yarn gulp minify-vscode
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
npm install --global create-dmg
|
||||
yarn gulp vscode-darwin-min-ci
|
||||
elif [[ "$CI_WINDOWS" == "True" ]]; then
|
||||
cp LICENSE.txt LICENSE.rtf # windows build expects rtf license
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
cd VSCode-darwin
|
||||
create-dmg VSCodium.app ..
|
||||
npx create-dmg VSCodium.app ..
|
||||
mv "../VSCodium ${LATEST_MS_TAG}.dmg" "../VSCodium.${LATEST_MS_TAG}.dmg"
|
||||
fi
|
||||
cd ..
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
brew update
|
||||
brew install jq zip
|
||||
else
|
||||
if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y fakeroot jq
|
||||
triplet=
|
||||
|
|
Loading…
Reference in a new issue