From a7a9e07c9738d8c83a23f2fad3e26d8262d605a5 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 25 May 2025 08:37:02 +0200 Subject: [PATCH] publish.sh: be more prescrive on the grep otherwise, we are getting version.workspace first --- util/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/publish.sh b/util/publish.sh index 7207ba7fb91..4ee1691c032 100755 --- a/util/publish.sh +++ b/util/publish.sh @@ -51,7 +51,7 @@ TOTAL_ORDER=$(echo -e $PARTIAL_ORDER | tsort | tac) # Remove the ROOT node from the start TOTAL_ORDER=${TOTAL_ORDER#ROOT} -CRATE_VERSION=$(grep '^version' Cargo.toml | head -n1 | cut -d '"' -f2) +CRATE_VERSION=$(grep '^version =' Cargo.toml | head -n1 | cut -d '"' -f2) set -e for dir in src/uuhelp_parser/ src/uucore_procs/ src/uucore/ src/uu/stdbuf/src/libstdbuf/; do