Add Release Candidate build support to Release Automation scripts#731
Open
aThorp96 wants to merge 3 commits into
Open
Add Release Candidate build support to Release Automation scripts#731aThorp96 wants to merge 3 commits into
aThorp96 wants to merge 3 commits into
Conversation
Member
Author
|
From a call:
|
01f5b31 to
21380db
Compare
With this change, the `new-release` action generates a "Release Candidate" (RC), where the release version having the pre-release version field "RC-<N>". A release candidate is "finalized" by removing the pre-release trailer, which is done by the "finalize-release" action. While release version is an RC, the update-upstream-versions automation will run against the release automatically. For ergonomics, this change also add a dedicated Github Workflow for each Release Action, which each in turn simply call the shared "Automated Release Actions" workflow with the corresponding parameters. Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7d5b90e to
5dadfe7
Compare
The field `patch-version` is no longer accurate since it includes semver metadata like `-RC-1`. This clarifies the naming and updates all references to the field
5dadfe7 to
5236256
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Add support for Release Candidate (RC) builds.
finalize-rc, which converts an RC build to a regular release buildnew-releasecommand to create new versions in RC mode (with-RC-1trailer). Subsequentnew-releasecalls to the same version increment the RC number.Schema Changes
Release files'
patch-versionfield has been renamedrelease-tagWorkflow overview
When a release captain is preparing for a new release, they now do the following:
Release Action - New Release, which generates a Release File with<version>-RC-1.Generate konflux configurationsGithub Workflow (or ensure it was run automatically), which generates the Konflux configuration files (release plan, application, etc) withversion: x.ybut the Release Plan'srelease_versionset tovX.Y.Z-RC-1.vX.Y.Z-RC-N(e.g.v1.2.3-RC-1). The Release Captain can give this image+tag to QA.Release Action - Finalize RCto update the Release File withis-rc: falseand drop therc-version.release_versionas normal, no-RC-nsuffix.