mirror of
https://github.com/uutils/coreutils.git
synced 2026-05-06 07:26:38 -04:00
publish.sh: be more prescriptive on the grep (#7983)
otherwise, we are getting version.workspace first
This commit is contained in:
+1
-1
@@ -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/ tests/uutests/; do
|
||||
|
||||
Reference in New Issue
Block a user