ncipollo/release-action

Specify a `default-branch` config-option

kwado-tech opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
Currently, I'm unable to specify a branch for release. Creating a release generates release-notes in relation to the main/root branch which is the implicit release target and this is not the expected behaviour if your release-target branch is anything order than the main/master branch

Describe the solution you'd like
Provide an option to specify which branch/tag you'll want your release-target to be

Describe alternatives you've considered

Additional context
Add any other context or screenshots about the feature request here.

Hi. I was looking for something similar to this when I saw your issue. Could commit input help you with this? The Notes section says something about the branch name: If the tag of the release you are creating does not yet exist, you should set both the tag and commit action inputs. commit can point to a commit hash or a branch name (ex - main).

@mikefonted thanks man this works as expected. Totally missed the fine-print in the documentation.