Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ci: Hide harmless cargo about error from release output (#27433)
Peter Tripp430814c0a9f8
diff --git a/script/generate-licenses b/script/generate-licensesindex fb9ed83f28d..9c0b92bdb11 100755--- a/script/generate-licenses+++ b/script/generate-licenses@@ -18,7 +18,7 @@ echo -n "" >"$OUTPUT_FILE"echo -e "\n# ###### CODE LICENSES ######\n"} >>"$OUTPUT_FILE"-if ! cargo about --version | grep "cargo-about $CARGO_ABOUT_VERSION" >/dev/null; then+if ! cargo about --version | grep "cargo-about $CARGO_ABOUT_VERSION" 2>&1 >/dev/null; thenecho "Installing cargo-about@^$CARGO_ABOUT_VERSION..."cargo install "cargo-about@^$CARGO_ABOUT_VERSION"elsediff --git a/script/generate-licenses-csv b/script/generate-licenses-csvindex ea02dcb72e5..7ffe0f3f144 100755--- a/script/generate-licenses-csv+++ b/script/generate-licenses-csv@@ -6,7 +6,7 @@ CARGO_ABOUT_VERSION="0.6"OUTPUT_FILE="${1:-$(pwd)/assets/licenses.csv}"TEMPLATE_FILE="script/licenses/template.csv.hbs"-if ! cargo about --version | grep "cargo-about $CARGO_ABOUT_VERSION" > /dev/null; then+if ! cargo about --version | grep "cargo-about $CARGO_ABOUT_VERSION" 2>&1 > /dev/null; thenecho "Installing cargo-about@^$CARGO_ABOUT_VERSION..."cargo install "cargo-about@^$CARGO_ABOUT_VERSION"else