mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
fcc1574aac
(git subtree add --prefix=bridges bridges master --squash)
11 lines
239 B
Bash
Executable File
11 lines
239 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# One-liner to update between Substrate releases
|
|
# Usage: ./update_substrate.sh 2.0.0-rc6 2.0.0
|
|
set -xeu
|
|
|
|
OLD_VERSION=$1
|
|
NEW_VERSION=$2
|
|
|
|
find . -type f -name 'Cargo.toml' -exec sed -i '' -e "s/$OLD_VERSION/$NEW_VERSION/g" {} \;
|