Pin solana crate versions to prevent downstream users from accidentally mixing crate versions
This commit is contained in:
parent
a2eb655322
commit
4be9d7fd29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue