@@ -37,17 +37,6 @@ LINUX_ARM64_CHECKSUM="${15}"
3737RUN_NUMBER=" ${16} "
3838COMMIT_SHA=" ${17} "
3939
40- # Use environment variables directly instead of parameters
41- NETWORK_NAME=" ${NETWORK_NAME:- SAMPLE-VALUE} "
42- MINTSCAN_CHAIN_ID=" ${MINTSCAN_CHAIN_ID:- SAMPLE-VALUE} "
43-
44- echo " DEBUG: Environment variables in script:"
45- echo " NETWORK_NAME from env: '${NETWORK_NAME} '"
46- echo " MINTSCAN_CHAIN_ID from env: '${MINTSCAN_CHAIN_ID} '"
47- echo " Script variables after assignment:"
48- echo " NETWORK_NAME: '$NETWORK_NAME '"
49- echo " MINTSCAN_CHAIN_ID: '$MINTSCAN_CHAIN_ID '"
50-
5140# Extract proposal number from proposal file path (e.g., "proposals/038-upgrade-v22.json" -> "038")
5241PROPOSAL_NUMBER=$( basename " $PROPOSAL_FILE " | cut -d' -' -f1)
5342
@@ -59,12 +48,12 @@ MINTSCAN_PROPOSAL_URL=$(generate_mintscan_proposal_url "$PROPOSAL_NUMBER")
5948cat > pr_body.md << EOF
6049# 🚀 Xion $RELEASE_TAG Upgrade
6150
62- This pull request implements the upgrade to **Xion $RELEASE_TAG ** for the Xion $NETWORK_NAME .
51+ This pull request implements the upgrade to **Xion $RELEASE_TAG ** for the Xion ${ NETWORK_NAME:- SAMPLE-VALUE} .
6352
6453## 📋 Overview
6554
6655- **Upgrade Height**: [$HEIGHT ]($MINTSCAN_BLOCK_URL ) (estimated: ~2 days from current block)
67- - **Chain ID**: \` $MINTSCAN_CHAIN_ID \` (in-place migration)
56+ - **Chain ID**: \` ${ MINTSCAN_CHAIN_ID:- SAMPLE-VALUE} \` (in-place migration)
6857- **Release**: https://github.com/burnt-labs/xion/releases/tag/$RELEASE_TAG
6958- **Proposal**: [$PROPOSAL_NUMBER ]($MINTSCAN_PROPOSAL_URL ) (\` $PROPOSAL_FILE \` )
7059- **Governance Deposit**: $DEPOSIT
0 commit comments