Commit 3ac1a74
feat: check noir release has nargo binaries before releasing (#22551)
## Summary
- Adds a `check_noir_release_assets` function to root `bootstrap.sh`
that queries the GitHub API to verify the noir release has nargo binary
assets
- Called from the `ci-release` case, right after semver validation and
before the build starts -- so it fails fast and only runs during
releases
- Prevents releases like `v4.2.0-aztecnr-rc.2` where the noir tag
existed but had no binaries, causing 404 errors when users ran `noirup`
## Test plan
- [x] Verified `gh release view` query returns correct asset count
against a known noir release (`v1.0.0-beta.3` → 5 assets)
- [ ] CI passes
Fixes
https://linear.app/aztec-labs/issue/F-506/check-noir-binaries-exist-on-release
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a327ba7 commit 3ac1a74
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
102 | 124 | | |
103 | 125 | | |
104 | 126 | | |
| |||
0 commit comments