You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: fixes and improvements for the release process (dfinity#3703)
## Summary
Follow-up fixes to the release SOP script (merged in dfinity#3699):
- **Fall back to `.ic0.app`** when `.icp0.io` config endpoint is
unavailable
- **Split `prepare_proposal_argument`** into per-canister steps for
finer-grained checklist progress
- **Fix Candid parsing**: handle multi-line nested values
(analytics_config, related_origins)
- **Default missing fields to `null`**: prevents `dev_csp = ` causing
didc encode failures
- **Fix backend init arg**: default to `(null)` when user declines
optional value
- **Idempotent `append_proposal_argument`**: removes previously appended
sections on re-run, adds Wasm Verification section
- **Use HTTPS for git operations**: avoids SSH key prompts for public
operations
- **Format Candid args**: one top-level field per line for readability
## Test plan
- [ ] Run `./scripts/make-upgrade-proposal --new --name release-test`
and verify the improved flow
- [ ] Run `./scripts/deploy-pr-to-beta -sa -fe <PR>` and verify shared
helpers work correctly
| [Next PR](dfinity#3702) >
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
sed -i.bak '/^## Wasm Verification/,$d' backend_proposal.md && rm -f backend_proposal.md.bak
542
+
529
543
cat >> backend_proposal.md <<EOF
530
544
545
+
## Wasm Verification
546
+
547
+
To build the wasm modules yourself and verify their hashes, run the following commands from the root of the [Internet Identity repository](https://github.com/dfinity/internet-identity):
548
+
549
+
\`\`\`
550
+
git pull # to ensure you have the latest changes.
551
+
git checkout ${git_commit}
552
+
./scripts/verify-hash --ii-hash ${II_WASM_SHA}
553
+
\`\`\`
554
+
531
555
## Backend Argument Verification
532
556
533
557
Run the following command to verify the backend upgrade argument hash:
sed -i.bak '/^## Wasm Verification/,$d' frontend_proposal.md && rm -f frontend_proposal.md.bak
574
+
547
575
cat >> frontend_proposal.md <<EOF
548
576
577
+
## Wasm Verification
578
+
579
+
To build the wasm modules yourself and verify their hashes, run the following commands from the root of the [Internet Identity repository](https://github.com/dfinity/internet-identity):
0 commit comments