Squashed 'bridges/' content from commit 89a76998f

git-subtree-dir: bridges
git-subtree-split: 89a76998f93c8219e9b1f785dcce73d4891e7068
This commit is contained in:
Hernando Castano
2021-04-21 11:56:23 -04:00
commit e5bed7ac38
339 changed files with 71658 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/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" {} \;