Skip to content

Stamp DEB versions with the platform suite convention - #74

Merged
viniciusferrao merged 1 commit into
masterfrom
fix/deb-suite-version
Aug 6, 2026
Merged

viniciusferrao merged 1 commit into
masterfrom
fix/deb-suite-version

Conversation

@viniciusferrao

Copy link
Copy Markdown
Member

Tag build 5 passed all six integration-lab lanes and failed at the final manifest step: ciReleaseManifest DEB version 1.2.0.ubuntu2404 ... does not match release tag v1.2.0. The manifest reads DEB versions from artifact filenames and accepts <tag> or <tag>+<suite><n>; our CPackProjectConfig.cmake.in hardcoded a nonconforming <version>.ubuntu2404 name.

This adopts the documented family-archive convention (<version>+<suite><release>, e.g. 1.2.0+noble1) via an OPENCATTUS_DEB_SUITE cache var, removes the custom file-name override (DEB-DEFAULT then emits opencattus_1.2.0+noble1_amd64.deb), and leaves CPACK_DEBIAN_PACKAGE_RELEASE unset so CPack doesn't append a second -1 after the stamp (which would defeat the manifest's suffix strip). Suites share one pool archive-wide, so the stamp also provides the per-suite uniqueness the platform requires.

The v1.2.0 tag build passed all six integration-lab lanes and then
failed at the very last step: ciReleaseManifest reads DEB versions from
the artifact filenames and accepts only <tag> or <tag>+<suite><n>, but
our CPackProjectConfig hardcoded a nonconforming
<version>.ubuntu2404 file name. Adopt the family-archive convention
from the ci-cd-platform docs: version the DEB as
<version>+<suite><release> (1.2.0+noble1) via a new
OPENCATTUS_DEB_SUITE cache variable, drop the custom file-name
override so DEB-DEFAULT emits opencattus_1.2.0+noble1_amd64.deb, and
leave CPACK_DEBIAN_PACKAGE_RELEASE unset so CPack does not append a
second release suffix after the stamp. Suites share one pool in the
family archive, so the stamp also provides the required per-suite
version uniqueness.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@viniciusferrao
viniciusferrao merged commit a66c20a into master Aug 6, 2026
2 checks passed
@viniciusferrao
viniciusferrao deleted the fix/deb-suite-version branch August 6, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant