From 4be9d7fd299ae463787b352b504f4dbc0971ad58 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 15 Mar 2021 21:01:15 -0700 Subject: [PATCH] Pin solana crate versions to prevent downstream users from accidentally mixing crate versions --- scripts/increment-cargo-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/increment-cargo-version.sh b/scripts/increment-cargo-version.sh index 96f223936b..e15534ae5f 100755 --- a/scripts/increment-cargo-version.sh +++ b/scripts/increment-cargo-version.sh @@ -132,7 +132,7 @@ for Cargo_toml in "${Cargo_tomls[@]}"; do ( set -x sed -i "$Cargo_toml" -e " - s/^$crate = { *path *= *\"\([^\"]*\)\" *, *version *= *\"[^\"]*\"\(.*\)} *\$/$crate = \{ path = \"\1\", version = \"$newVersion\"\2\}/ + s/^$crate = { *path *= *\"\([^\"]*\)\" *, *version *= *\"[^\"]*\"\(.*\)} *\$/$crate = \{ path = \"\1\", version = \"=$newVersion\"\2\}/ " ) done