Skip to content

Conversation

@DiogoSantoss
Copy link
Contributor

@DiogoSantoss DiogoSantoss commented Nov 14, 2025

Introduces prepare-minor-full-release.yml and tag-minor-full-release.yml GH action.

prepare-minor-full-release.yml finds the latest release branch (e.g., main-vX.Y created from bump-minor-version.yml #4084), creates a PR to update release branch version from vX.Y-rc to vX.Y.0 (stable release), and creates a PR to update main branch version from vX.Y-dev to vX.(Y+1)-dev.

tag-minor-full-release.yml validates that the stable version PR has been merged, creates and pushes the tag vX.Y.0, and can auto-detect latest release branch or accept manual input.

Workflow: Run prepare-minor-full-release.yml to create the PRs, review and merge the stable version PR to the release branch, run tag-minor-full-release.yml to create and push the tag, then merge the dev version PR to main to start the next development cycle.

category: misc
ticket: #3933

Copy link

Copilot AI left a 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 introduces a new GitHub Actions workflow (tag-minor-full-release.yml) to automate the process of creating a stable minor release from a release candidate branch. The workflow finds the latest main-vX.Y release branch, creates two PRs (one to update the release branch to stable version vX.Y.0 and another to bump main to the next dev version vX.(Y+1)-dev), and creates a stable version tag.

Key Changes:

  • Automated discovery of the latest minor release branch matching pattern main-vX.Y
  • Automated creation of PRs to update versions in app/version/version.go
  • Automated tag creation for the stable release version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.37%. Comparing base (426ba79) to head (970e87e).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4101   +/-   ##
=======================================
  Coverage   56.37%   56.37%           
=======================================
  Files         245      245           
  Lines       31169    31169           
=======================================
+ Hits        17571    17572    +1     
- Misses      11284    11287    +3     
+ Partials     2314     2310    -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DiogoSantoss DiogoSantoss changed the title *: tag-minor-full-release gh action *: prepare-minor-full-release gh action Nov 17, 2025
@DiogoSantoss DiogoSantoss requested a review from pinebit November 17, 2025 16:23
Comment on lines 117 to 118
# Replace v<MAJOR>.<MINOR>-rc with v<MAJOR>.<MINOR>.0
sed -i -E "s/^(var version = )\"v${MAJOR}\.${MINOR}-rc\"/\1\"${STABLE_VERSION}\"/" "$VERSION_FILE"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do v<MAJOR>.<MINOR> here? We usually stick to only
v<MAJOR>.<MINOR>
v<MAJOR>.<MINOR>-rc
v<MAJOR>.<MINOR>-dev
for this variable.
The patches and specific rcs we do with git tag.

@sonarqubecloud
Copy link

@DiogoSantoss DiogoSantoss added the merge when ready Indicates bulldozer bot may merge when all checks pass label Nov 20, 2025
@obol-bulldozer obol-bulldozer bot merged commit 1101cf1 into main Nov 20, 2025
12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the diogo/ga-tag-minor-full-release branch November 20, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge when ready Indicates bulldozer bot may merge when all checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants