Skip to content

[change] Releaser: avoid asking which branch to port change log to #646

@nemesifier

Description

@nemesifier

When publishing bug fix releases, the releaser tool automates the creation of PRs to automatically copy the change log of a new bugfix release from the release branch to master/main.

We have some logic which asks to choose between master and main, however:

  • it's almost always master
  • a tiny percentage of cases use main, but I am migrating back to master when possible, for consistency

Therefore, I propose the following change:

  • check if main exists locally, if it does, check if master also exists, if both exists ask the user to choose
  • if main does not exist, choose master automatically without asking
  • if master does not exist and main exists, choose main without asking

Metadata

Metadata

Labels

helper-botsHelper bots, release management automation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions