[macOS] Fail builds on errors during the image generation (#1756)

* set -e and fix all the scripts

* add source utils to finalize_vm script

* change xcode version in postbuild script

* fix for softwareupdates and for xcode version
This commit is contained in:
Mikhail Timofeev
2020-10-23 17:59:08 +03:00
committed by GitHub
parent baad68926a
commit 0d46520ccf
54 changed files with 116 additions and 109 deletions

View File

@@ -1,3 +1,5 @@
#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
node_modules=(
@@ -16,7 +18,6 @@ if is_Less_Catalina; then
echo Installing NPM 3.x.x...
npm install -g npm@3
npm config set prefix /usr/local
# This step is required to install App Center CLI
echo Installing Omelette...