Commit 23ae70a
fix(release-image): stamp aztec_version in published contract artifacts
The v4.3.0 release shipped contract artifact JSONs with aztec_version: "dev"
baked in, because release-image/Dockerfile copies pre-built artifacts from an
earlier stage where REF_NAME isn't set (so stamp_aztec_version in
noir-projects/noir-contracts/bootstrap.sh falls back to "dev"). Mirror the
stdlib/package.json stamp pattern (75fd494) to re-stamp aztec_version in
every artifact under accounts/, noir-contracts.js/, and noir-test-contracts.js/
at image-build time.
Also bypass the compat e2e assertContractArtifactsVersion() check narrowly for
expected === "4.3.0" && aztecVersion === "dev" so the compat job stops failing
against the already-published broken 4.3.0 artifacts. Other versions still
fail loudly if they ever report "dev".
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ede2dec commit 23ae70a
2 files changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
22 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
291 | 292 | | |
292 | 293 | | |
293 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
294 | 304 | | |
295 | 305 | | |
296 | 306 | | |
| |||
0 commit comments