fix(help): help bundle version comes from the build, not a hardcoded SNAPSHOT #15

Merged
KofTwentyTwo merged 1 commits from fix/help-bundle-version into develop 2026-10-15 03:37:21 +00:00
KofTwentyTwo commented 2026-10-15 03:06:13 +00:00 (Migrated from github.com)

Release blocker. On release branches, the help bundle's hardcoded version: x.y.z-SNAPSHOT differed from the Maven-filtered producer version. The bundle test that asserts they match failed, and released bundles recorded SNAPSHOT as their provenance.

Fix:

  • help/*.yaml now says version: ${project.version}, and Maven filters it. The pom adds a filtered resource for help/*.yaml and excludes it from the unfiltered one.
  • The test still asserts the bundle version equals the artifact version.

Proof: in qbit-authentik, with the version set to 0.1.0-RC.99 temporarily, the bundle test passes and the built bundle says version: 0.1.0-RC.99.

🤖 Generated with Claude Code

Release blocker. On release branches, the help bundle's hardcoded `version: x.y.z-SNAPSHOT` differed from the Maven-filtered producer version. The bundle test that asserts they match failed, and released bundles recorded SNAPSHOT as their provenance. **Fix:** - `help/*.yaml` now says `version: ${project.version}`, and Maven filters it. The pom adds a filtered resource for `help/*.yaml` and excludes it from the unfiltered one. - The test still asserts the bundle version equals the artifact version. **Proof:** in qbit-authentik, with the version set to 0.1.0-RC.99 temporarily, the bundle test passes and the built bundle says `version: 0.1.0-RC.99`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.