Skip to content

Commit a7a9e07

Browse files
authored
publish.sh: be more prescrive on the grep
otherwise, we are getting version.workspace first
1 parent 18b963e commit a7a9e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ TOTAL_ORDER=$(echo -e $PARTIAL_ORDER | tsort | tac)
5151
# Remove the ROOT node from the start
5252
TOTAL_ORDER=${TOTAL_ORDER#ROOT}
5353

54-
CRATE_VERSION=$(grep '^version' Cargo.toml | head -n1 | cut -d '"' -f2)
54+
CRATE_VERSION=$(grep '^version =' Cargo.toml | head -n1 | cut -d '"' -f2)
5555

5656
set -e
5757
for dir in src/uuhelp_parser/ src/uucore_procs/ src/uucore/ src/uu/stdbuf/src/libstdbuf/; do

0 commit comments

Comments
 (0)