Override Truffle version in Gnosis safe-contracts.

This commit is contained in:
Erik Kundt
2019-12-02 18:10:39 +01:00
committed by Daniel Kirchner
parent f13fa7ed82
commit 1fbcf7bd8b
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -83,6 +83,13 @@ function download_project
echo "Current commit hash: `git rev-parse HEAD`"
}
function force_truffle_version
{
local repo="$1"
sed -i 's/"truffle":\s*".*"/"truffle": "^5.0.42"/g' package.json
}
function truffle_setup
{
local repo="$1"