From 9987d9175a0fab6136340c2c76ad35087b1d962f Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Fri, 16 Jul 2021 15:02:46 -0600 Subject: [PATCH 1/2] ci: fix typo (cherry picked from commit 96a7cedaca084760e8709d456c2e46c2ccd55ea7) --- ci/env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/env.sh b/ci/env.sh index df7ed1ce6aeb32..973f4c85323bf1 100644 --- a/ci/env.sh +++ b/ci/env.sh @@ -78,7 +78,7 @@ else export CI_REPO_SLUG= export CI_TAG= # Don't override ci/run-local.sh - if [[ -z $CL_LOCAL_RUN ]]; then + if [[ -z $CI_LOCAL_RUN ]]; then export CI_OS_NAME= fi fi From 543b586b7d8768afeb3116353ea003f3614e8518 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Fri, 16 Jul 2021 15:03:57 -0600 Subject: [PATCH 2/2] ci: suppress cargo tree output (cherry picked from commit 59cd0556ef4f6907bb8c362fcd132c0049812f53) --- ci/test-checks.sh | 2 +- scripts/increment-cargo-version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 7352a59806281f..8cf93132f00dbf 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -14,7 +14,7 @@ scripts/increment-cargo-version.sh check # Disallow uncommitted Cargo.lock changes ( - _ scripts/cargo-for-all-lock-files.sh tree + _ scripts/cargo-for-all-lock-files.sh tree >/dev/null set +e if ! _ git diff --exit-code; then echo -e "\nError: Uncommitted Cargo.lock changes" 1>&2 diff --git a/scripts/increment-cargo-version.sh b/scripts/increment-cargo-version.sh index e15534ae5f82e3..283aaab9c2f196 100755 --- a/scripts/increment-cargo-version.sh +++ b/scripts/increment-cargo-version.sh @@ -148,7 +148,7 @@ for file in "${markdownFiles[@]}"; do done # Update cargo lock files -scripts/cargo-for-all-lock-files.sh tree +scripts/cargo-for-all-lock-files.sh tree >/dev/null echo "$currentVersion -> $newVersion"