diff --git a/scripts/proposals/upgrade_asset_canister.sh b/scripts/proposals/upgrade_asset_canister.sh index 4a7b0d8992..76718d1326 100755 --- a/scripts/proposals/upgrade_asset_canister.sh +++ b/scripts/proposals/upgrade_asset_canister.sh @@ -5,10 +5,12 @@ SCRIPT=$(readlink -f "$0") SCRIPT_DIR=$(dirname "$SCRIPT") cd $SCRIPT_DIR/../.. -TITLE="Upgrade asset canister to DFX version 0.19.0" -URL="https://github.com/dfinity/sdk/releases/tag/0.19.0" +DFX_VERSION=$1 + +TITLE="Upgrade asset canister to DFX version $DFX_VERSION" +URL="https://github.com/dfinity/sdk/releases/tag/$DFX_VERSION" CANISTER_NAME=website -SUMMARY="This proposal upgrades the asset canister wasm to the version included in DFX 0.19.0" +SUMMARY="This proposal upgrades the asset canister wasm to the version included in DFX $DFX_VERSION" FUNCTION_ID=3 # Set env variables based on .env file