(experiment) update brew and use it for create-dmg

This commit is contained in:
Peter Squicciarini 2020-09-15 09:53:57 -07:00
parent 96e27cd232
commit aae9794677
No known key found for this signature in database
GPG Key ID: 08B897BCAB6763CB
2 changed files with 3 additions and 1 deletions

View File

@ -16,8 +16,10 @@ os: osx
addons:
homebrew:
packages:
- create-dmg
- jq
- zip
update: true
language: node_js
node_js: "12.14.1"

View File

@ -4,7 +4,7 @@ set -x
if [[ "$SHOULD_BUILD" == "yes" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd VSCode-darwin
npx create-dmg VSCodium.app ..
create-dmg VSCodium.app ..
mv "../VSCodium ${LATEST_MS_TAG}.dmg" "../VSCodium.${LATEST_MS_TAG}.dmg"
fi
cd ..