mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
updatecli.d/rust.yml: fix staleness check when using rustup 1.29
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user