Skip to content

feat(release-automation): publish alpha and rc releases on Release PR merge - #534

Merged
hdamker merged 1 commit into
camaraproject:release-automation-refactorfrom
hdamker:feat/ra-publish-on-merge-prereleases
Nov 24, 2026
Merged

hdamker merged 1 commit into
camaraproject:release-automation-refactorfrom
hdamker:feat/ra-publish-on-merge-prereleases

Conversation

@hdamker

@hdamker hdamker commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • enhancement/feature

What this PR does / why we need it:

Sets the publish policy decided in camaraproject/ReleaseManagement#675 (variant c1): pre-releases publish on Release PR merge, public releases keep the draft and /publish-release with codeowners responsible as today.

  • RELEASE_TYPES in config.py: pre-release-alpha and pre-release-rc change to on_merge. public-release and maintenance-release stay draft. Publishers stay codeowners for every type.
  • test_command_policy.py: one parametrised test asserts the publish mode per release type. The shared info() fixture and the plan expectations that assumed an alpha draft now use public-release.

Which issue(s) this PR fixes:

Part of #476

Special notes for reviewers:

Only the policy values change; both publish modes were built in #481, #488 and #489. on_merge has so far been unit-tested only — an end-to-end run on a test repository follows before the exit merge.

Changelog input

 release-note
Pre-releases (alpha, rc) are published directly on merge of the Release PR; public and maintenance releases still need /publish-release.

Additional documentation

docs

@hdamker
hdamker merged commit 3a7e60d into camaraproject:release-automation-refactor Nov 24, 2026
8 checks passed
@hdamker
hdamker deleted the feat/ra-publish-on-merge-prereleases branch November 24, 2026 21:06
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