Skip to content

Commit

Permalink
ci(runtime-upgrade): update npx with npm exec (t3rn#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
3h4x authored May 22, 2023
1 parent f810e0c commit 17dcb11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/upgrade-runtime-set-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ echo
echo "🔎 making sure runtime version got updated..."

runtime_version="$( \
npx --yes $POLKADOT_CLI_VERSION \
npm exec -- $POLKADOT_CLI_VERSION \
--ws $ws_provider \
consts.system.version \
2>/dev/null )"
Expand Down Expand Up @@ -132,7 +132,7 @@ fi

# Execute runtime upgrade if dryrun flag is not present
if [[ -z $dryrun ]]; then
npx --yes $POLKADOT_CLI_VERSION \
npm exec -- $POLKADOT_CLI_VERSION \
--ws $ws_provider \
--sudoUncheckedWeight "100000" \
--seed "$sudo_secret" \
Expand Down

0 comments on commit 17dcb11

Please sign in to comment.