Overview
Implement the unified HaLOS versioning and release system as documented in cockpit-apt PRs #97 and #99.
Reference Implementation
Implementation
Follow the same approach as container-packaging-tools (see issue #63 for detailed checklist).
Key Changes
- Create
.github/scripts/ with calculate-revision.sh, generate-changelog.sh, test-version-handling.sh
- Update
.github/workflows/main.yml and release.yml
- Add
bumpversion command to ./run script
- Update
AGENTS.md with version management documentation
Version System
- VERSION file: Upstream version only (e.g.,
0.2.0)
- Git tags:
v{upstream}+{N}_pre (unstable), v{upstream}+{N} (stable)
- Debian packages:
{upstream}-{N}
- Auto-incrementing N based on git tags
- Same .deb for both channels
Benefits
✅ Auto-incrementing revisions
✅ Monotonic version ordering
✅ Git-compliant tags (DEP-14)
✅ Fixes missing .deb on draft releases
Implementation Checklist
MANDATORY: Follow halos-distro/docs/IMPLEMENTATION_CHECKLIST.md during implementation.
See container-packaging-tools issue #63 for complete checklist.
🤖 Generated with Claude Code
Overview
Implement the unified HaLOS versioning and release system as documented in cockpit-apt PRs #97 and #99.
Reference Implementation
Implementation
Follow the same approach as container-packaging-tools (see issue #63 for detailed checklist).
Key Changes
.github/scripts/with calculate-revision.sh, generate-changelog.sh, test-version-handling.sh.github/workflows/main.ymlandrelease.ymlbumpversioncommand to./runscriptAGENTS.mdwith version management documentationVersion System
0.2.0)v{upstream}+{N}_pre(unstable),v{upstream}+{N}(stable){upstream}-{N}Benefits
✅ Auto-incrementing revisions
✅ Monotonic version ordering
✅ Git-compliant tags (DEP-14)
✅ Fixes missing .deb on draft releases
Implementation Checklist
MANDATORY: Follow
halos-distro/docs/IMPLEMENTATION_CHECKLIST.mdduring implementation.See container-packaging-tools issue #63 for complete checklist.
🤖 Generated with Claude Code