Skip to content

feat: implement unified HaLOS versioning and release system #22

@mairas

Description

@mairas

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

  1. Create .github/scripts/ with calculate-revision.sh, generate-changelog.sh, test-version-handling.sh
  2. Update .github/workflows/main.yml and release.yml
  3. Add bumpversion command to ./run script
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions