mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 21:45:01 +00:00
publish.sh: be more prescriptive on the grep (#7983)
otherwise, we are getting version.workspace first
This commit is contained in:
parent
7221d000bc
commit
2f577a7d98
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ TOTAL_ORDER=$(echo -e $PARTIAL_ORDER | tsort | tac)
|
||||||
# Remove the ROOT node from the start
|
# Remove the ROOT node from the start
|
||||||
TOTAL_ORDER=${TOTAL_ORDER#ROOT}
|
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
|
set -e
|
||||||
for dir in src/uuhelp_parser/ src/uucore_procs/ src/uucore/ src/uu/stdbuf/src/libstdbuf/ tests/uutests/; do
|
for dir in src/uuhelp_parser/ src/uucore_procs/ src/uucore/ src/uu/stdbuf/src/libstdbuf/ tests/uutests/; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue