mirror of
https://github.com/status-im/status-go.git
synced 2025-02-12 14:58:37 +00:00
wip
This commit is contained in:
parent
b446a516b8
commit
98685335b3
@ -6,8 +6,8 @@ oldVersion=$((version - 1))
|
||||
echo "Upgrading from version ${oldVersion} to ${version}"
|
||||
|
||||
# Remove sub-modules
|
||||
rm extkeys/go.sum
|
||||
rm extkeys/go.mod
|
||||
#rm extkeys/go.sum
|
||||
#rm extkeys/go.mod
|
||||
rm exchanges/go.sum
|
||||
rm exchanges/go.mod
|
||||
|
||||
@ -19,4 +19,7 @@ sed -i '' "s|github.com/status-im/status-go/v${oldVersion}|github.com/status-im/
|
||||
mod upgrade -tag ${version}
|
||||
|
||||
# Fix "/v3/v3" bug
|
||||
find . -name "*.go" -exec sed -i '' "s/\/v${version}\/v${version}/\/v${version}/g" {} +
|
||||
find . -name "*.go" -exec sed -i '' "s/\/v${version}\/v${version}/\/v${version}/g" {} +
|
||||
|
||||
# Fallback "/v3/extkeys" to "/extkeys"
|
||||
sed -i '' "s|github.com/status-im/status-go/v${oldVersion}|github.com/status-im/status-go/v${version}|g"
|
Loading…
x
Reference in New Issue
Block a user