diff --git a/Tools/Scripts/ci.sh b/Tools/Scripts/ci.sh index 4bc798a70..1500cc2fa 100755 --- a/Tools/Scripts/ci.sh +++ b/Tools/Scripts/ci.sh @@ -3,6 +3,7 @@ project_home="$(dirname "$PWD")" export PATH="$HOME/narwhal/bin:$PATH" +export CAPP_AUTO_UPGRADE="yes" export CAPP_BUILD=$project_home/build_incremental time jake test diff --git a/common.jake b/common.jake index 6ef6d0eed..c9416635c 100644 --- a/common.jake +++ b/common.jake @@ -32,7 +32,7 @@ function ensurePackageUpToDate(packageName, requiredVersion, options) if (!options.noupdate) { print("Update? yes or no:"); - if (system.stdin.readLine() !== "yes\n") + if (!SYSTEM.env["CAPP_AUTO_UPGRADE"] && system.stdin.readLine() !== "yes\n") { print("Jake aborted."); OS.exit(1);