Skip to content

Commit

Permalink
fix(scripts): Update gen-upgrade-proposal.sh to take a target tag arg…
Browse files Browse the repository at this point in the history
…ument

Fixes #9335
  • Loading branch information
gibson042 committed May 9, 2024
1 parent 1d3807b commit 9171bc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/gen-upgrade-proposal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ https://github.com/agoric-labs/cosmos-sdk/tree/Agoric/cosmovisor#readme
------------------------------------------------------------------------
EOF

COMMIT_ID=$(git rev-parse HEAD)
UPGRADE_TO="${1:-HEAD}"
COMMIT_ID=$(git rev-parse "$UPGRADE_TO")
ZIP_URL="https://github.com/Agoric/agoric-sdk/archive/${COMMIT_ID}.zip"

echo "Verifying archive is at $ZIP_URL..." 1>&2
Expand Down

0 comments on commit 9171bc5

Please sign in to comment.