Skip to content

Commit 9338279

Browse files
committed
Update update_versions.sh to skip serde_combinators
1 parent 99954dd commit 9338279

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/update_versions.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ cd "$WORKSPACE"
1616

1717
VERSION="version = \"$1\""
1818

19-
find . -name Cargo.toml -exec sed -i "{
19+
find . -name Cargo.toml |
20+
grep -v 'serde_combinators/Cargo.toml' |
21+
xargs -n 1 sed -i "{
2022
s/^version = \"[^\"]*\"$/$VERSION/
21-
}" {} \;
23+
}"
2224

2325
REQ="${VERSION/\"/\"=}"
2426

0 commit comments

Comments
 (0)