From fdb1d95521ac1db33ecf2b08ad162883eb110bbb Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 19 Apr 2026 15:26:16 +0800 Subject: [PATCH] updatecli.d/rust.yml: fix staleness check when using rustup 1.29 --- updatecli.d/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updatecli.d/rust.yml b/updatecli.d/rust.yml index 27dd65a83..9fb6e5c51 100644 --- a/updatecli.d/rust.yml +++ b/updatecli.d/rust.yml @@ -6,9 +6,9 @@ sources: spec: shell: bash command: | - set -eo pipefail + set -e # Check that we have latest stable. - if rustup check | grep ^stable- | grep 'Update available'; then + if rustup check | grep '^stable-.*[uU]pdate available'; then echo >&2 "Rust toolchain 'stable' is stale, please update it" exit 1 fi