We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9838d commit 93c9f80Copy full SHA for 93c9f80
1 file changed
release-image/Dockerfile
@@ -18,6 +18,9 @@ WORKDIR "/usr/src/yarn-project"
18
# Ensure the correct version shows in aztec --version
19
ARG VERSION
20
RUN echo '{".": "'$VERSION'"}' > /usr/src/.release-please-manifest.json
21
+# Stamp the version into stdlib/package.json, which getPackageVersion() reads at runtime.
22
+RUN jq --arg v "$VERSION" '.version = $v' /usr/src/yarn-project/stdlib/package.json > /tmp/p.json \
23
+ && mv /tmp/p.json /usr/src/yarn-project/stdlib/package.json
24
25
# Stamp aztec_version into the shipped contract artifacts. The build-time stamp in
26
# noir-projects/noir-contracts/bootstrap.sh writes "dev" unconditionally; $VERSION here is the authoritative release
0 commit comments