Pin solana crate versions to prevent downstream users from accidentally mixing crate versions

This commit is contained in:
Michael Vines 2021-03-15 21:01:15 -07:00 committed by mergify[bot]
parent a2eb655322
commit 4be9d7fd29
1 changed files with 1 additions and 1 deletions

View File

@ -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