-
Notifications
You must be signed in to change notification settings - Fork 111
refactor(l1,l2): release workflow #4986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the release workflow to implement a two-stage release process where RC (release candidate) versions are tested before final releases. RC versions are first tagged, compiled, and published as pre-releases. After testing, the release is manually edited to create the final version tag, triggering automatic retagging of Docker images with latest and final version tags.
Key Changes:
- RC versions are now always published as pre-releases instead of conditionally based on tag suffix
- Changelog generation improved to use commits since first common parent of previous stable version
- New workflow added to handle Docker image retagging when releases are edited from RC to final versions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/tag_release.yaml | Simplified tag matching pattern, removed conditional logic for RC vs stable releases, modified changelog generation to find previous stable version and common parent, set all releases as pre-releases |
| .github/workflows/tag_latest.yaml | New workflow that triggers on release edits, retrieves latest release tag, and retags Docker images with final version and latest tags |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Motivation
We are deploying releases without the ability to test them before.
Description
The new workflow is:
v6.0.0-rc.1).v6.0.0). Also, the release should be set tolatestnow.latestand final version.Changelog was improved too. Now it takes commits since the first common parent of the previous version (not RC)