From 5c3b5842b0eadcc0c962177988c4d1813d124f67 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Thu, 23 Mar 2023 10:44:18 -0400 Subject: [PATCH] update-version.sh: Also update versions in Cargo.lock Part-of: --- update-version.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update-version.sh b/update-version.sh index b0a32bd6..597e9b65 100755 --- a/update-version.sh +++ b/update-version.sh @@ -5,4 +5,5 @@ if [ -z "$1" ] fi find . -name "Cargo.toml" -exec sed -i "s/^version =.*/version = \"$1\"/" {} \; +cargo update -w sed -i "s/version: .*/version: '$1',/" meson.build