Skip to content

Allow bumping versions after release branch cut #819

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

Merged
merged 14 commits into from
May 29, 2025

Conversation

kitallis
Copy link
Member

@kitallis kitallis commented May 26, 2025

Closes: https://github.com/orgs/tramlinehq/projects/5/views/1?pane=issue&itemId=112406191

Why

We currently support bumping up versions before the release branch is cut. This forces the new release branch to have the correct current version before it kicks off and allows for flows where the versions aren't managed by Tramline through workflows alone.

This addresses

This PR adds a mandatory selection of bumping strategies, including a new one, that allows updating the version in the working branch after the release branch has been cut to the next version that is yet to be released. This is also a common flow for some users, since their subsequent feature PRs rely on the next version instead of the currently releasing one.

Screenshot 2025-05-27 at 7 58 36 PM

It does not block the release from progressing –

Screenshot 2025-05-27 at 7 59 08 PM

And has slightly different text and description in the PR, example PR.

Scenarios tested

  • All previous trains with version bump enabled, default to the current release version after branch cut
  • Previous strategy continues to work
  • New strategy does not block the release branch work
  • New strategy PR cut can be closed/merged as usual
  • New strategy version bump PR is asynchronously created

@kitallis kitallis marked this pull request as ready for review May 27, 2025 14:31
@kitallis kitallis merged commit 4eeaa5e into main May 29, 2025
5 checks passed
@kitallis kitallis deleted the feat/version-bumping-scenarios branch May 29, 2025 14:56
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