fix(release): one Prüfwerk version in every document, crates at 0.4.6 (#526)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Successful in 2m55s
CI / Deploy Dashboard (push) Successful in 5m10s
CI / Deploy Agent (push) Successful in 7m2s

This commit was merged in pull request #526.
This commit is contained in:
sharang committed 2026-10-08 21:15:41 +00:00
1 parent e1bf9e861c
commit dd70ec753c
11 files changed
+21 -20

No files matched your search

+3 -2
View File
@@ -19,6 +19,7 @@ use compliance_core::models::oscal_assessment::assess;
use compliance_core::models::{CveAlert, Finding, OnboardedTarget, SbomEntry, ScanRun, SkipCode};
use compliance_core::{csaf_docs, enisa_docs, sbom_docs, vex_docs};
use crate::api::handlers::platform::BUILD_VERSION;
use crate::error::AgentError;
/// Where the image records the versions of the tools it ships.
@@ -71,7 +72,7 @@ pub fn build_pack(
at: DateTime<Utc>,
) -> Result<(Vec<u8>, Vec<ManifestFile>), AgentError> {
let subject = inputs.target.name.as_str();
let tooling = format!("Prüfwerk {}", env!("CARGO_PKG_VERSION"));
let tooling = format!("Prüfwerk {BUILD_VERSION}");
// The VEX statements on the CVE alerts (#498).
let vex = vex_docs::VexInput {
subject,
@@ -149,7 +150,7 @@ pub fn build_pack(
let catalog = control_map::ControlMap::cra_source();
let manifest = Manifest {
product: "Prüfwerk",
version: env!("CARGO_PKG_VERSION"),
version: BUILD_VERSION,
generated_at: at,
target: serde_json::json!({
"id": inputs.target.id.map(|id| id.to_hex()),