Skip to content

fix(ci): add apt-distro to release.yml for stable releases#87

Merged
mairas merged 1 commit intomainfrom
fix/release-apt-distro-any
Nov 22, 2025
Merged

fix(ci): add apt-distro to release.yml for stable releases#87
mairas merged 1 commit intomainfrom
fix/release-apt-distro-any

Conversation

@mairas
Copy link
Contributor

@mairas mairas commented Nov 22, 2025

Summary

  • Add apt-distro: any to release.yml workflow
  • This was missing, causing stable releases to use default trixie instead of any
  • Fixes stable release deployment to only deploy to trixie-stable instead of all distributions

Root Cause

The release.yml workflow calls publish-stable.yml but was not passing apt-distro. The shared workflow defaults to trixie, so stable releases were incorrectly deployed only to trixie-stable instead of all distributions (bookworm, trixie, forky) and the legacy stable/main.

PR #86 fixed main.yml (for pre-releases) but missed release.yml (for stable releases).

Test plan

  • Verify workflow syntax is correct
  • Merge and create new stable release to verify deployment

🤖 Generated with Claude Code

The release.yml workflow was missing the apt-distro input when calling
the publish-stable shared workflow, causing stable releases to use the
default value ('trixie') instead of 'any'.

This fix ensures stable releases deploy to all distributions (bookworm,
trixie, forky), matching the behavior already set in main.yml for
pre-releases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
mairas added a commit to halos-org/shared-workflows that referenced this pull request Nov 22, 2025
Remove default values for apt-distro and apt-component inputs in both
build-release.yml and publish-stable.yml, making them required.

This prevents silent fallback to defaults which could cause packages
to be deployed to incorrect distributions or components.

All calling repositories have been updated to provide explicit values:
- hatlabs/HALPI2-python-daemon#50
- halos-org/cockpit-apt#108
- halos-org/halos-metapackages#6
- hatlabs/HALPI2-rust-daemon#87
- halos-org/halos-marine-containers#30

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@mairas mairas merged commit 357a468 into main Nov 22, 2025
1 check passed
@mairas mairas deleted the fix/release-apt-distro-any branch November 22, 2025 13:37
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