fix(release): one Prüfwerk version in every document, crates at 0.4.6 #526

Merged
sharang merged 1 commits from fix/a3-version into main 2026-10-08 21:15:42 +00:00
Owner

What was wrong. Stage test 31 found two version numbers in customer-facing documents:

  • the evidence pack's manifest.json and enisa-drafts.json said "Prüfwerk 0.4.4", from CARGO_PKG_VERSION; the crates were never bumped;
  • the dashboard's ENISA download, the VEX exports and the CSAF draft said "Prüfwerk 0.4.5", from BUILD_VERSION, the latest v* tag at image build time.

Changes:

  • evidence/mod.rs uses BUILD_VERSION for both the tooling line and the manifest version, so every document names the same version.
  • All workspace crates go to 0.4.6 (Cargo.toml + Cargo.lock), the version of the 2026-10-09 promotion. A build without the tag falls back to the same number.

For the promotion: the user tags v0.4.6 on the final main commit. The image built from that commit then reports 0.4.6 everywhere: /api/v1/platform/version, evidence pack, VEX, CSAF and ENISA. Without the tag, the fallback is 0.4.6 too.

Stage re-test:

  1. Open a target and download the Nachweispaket (evidence pack). In it, manifest.json version and the tooling line in enisa-drafts.json match the version that GET /api/v1/platform/version reports.
  2. The ENISA download from the dashboard names the same version.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p

**What was wrong.** Stage test 31 found two version numbers in customer-facing documents: - the evidence pack's `manifest.json` and `enisa-drafts.json` said "Prüfwerk 0.4.4", from `CARGO_PKG_VERSION`; the crates were never bumped; - the dashboard's ENISA download, the VEX exports and the CSAF draft said "Prüfwerk 0.4.5", from `BUILD_VERSION`, the latest `v*` tag at image build time. **Changes:** - `evidence/mod.rs` uses `BUILD_VERSION` for both the tooling line and the manifest version, so every document names the same version. - All workspace crates go to **0.4.6** (Cargo.toml + Cargo.lock), the version of the 2026-10-09 promotion. A build without the tag falls back to the same number. **For the promotion:** the user tags `v0.4.6` on the final main commit. The image built from that commit then reports 0.4.6 everywhere: `/api/v1/platform/version`, evidence pack, VEX, CSAF and ENISA. Without the tag, the fallback is 0.4.6 too. **Stage re-test:** 1. Open a target and download the **Nachweispaket** (evidence pack). In it, `manifest.json` `version` and the tooling line in `enisa-drafts.json` match the version that `GET /api/v1/platform/version` reports. 2. The ENISA download from the dashboard names the same version. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-10-08 21:03:23 +00:00
fix(release): one Prüfwerk version in every document, crates at 0.4.6
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 11m15s
11e9ac5bec
The evidence pack's manifest and enisa-drafts.json named the crate
version (0.4.4, never bumped) while the VEX, CSAF and dashboard ENISA
downloads named the release tag the image was built from (0.4.5). The
evidence pack now uses BUILD_VERSION as well: PRUEFWERK_VERSION at build
time (CI: the latest v* tag), else the crate version. The crates are
bumped to 0.4.6, the version of the next promotion, so the fallback
matches too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang merged commit dd70ec753c into main 2026-10-08 21:15:42 +00:00
Sign in to join this conversation.