Răsfoiți Sursa

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

Peter Squicciarini 4 ani în urmă
părinte
comite
aae9794677
2 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 2 0
      .travis.yml
  2. 1 1
      create_dmg.sh

+ 2 - 0
.travis.yml

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

+ 1 - 1
create_dmg.sh

@@ -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 ..