Skip to content
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

Provide pre-release name via required branch #811

Closed
ivandov opened this issue Sep 21, 2021 · 4 comments
Closed

Provide pre-release name via required branch #811

ivandov opened this issue Sep 21, 2021 · 4 comments

Comments

@ivandov
Copy link

ivandov commented Sep 21, 2021

When configuring a requireBranch, it'd be nice if this key supported an object format that allowed you to specify multiple branches, but also information on whether that branch is a pre-release branch.

For example:

requireBranch:
  - name: v2.1.0-alpha
    preRelease: alpha

Therefore when release-it runs on the v2.1.0-alpha branch, it will always release pre-release semver types with the name alpha... v2.1.0-alpha.X

Currently, I believe any of this additional logic may need to be handled in a hook if not a direct plugin as it would need to overwrite the determined version in the bump logic.

Trying to find a solution similar to semantic-release pre-release branches.

@stale
Copy link

stale bot commented Nov 30, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Nov 30, 2021
@webpro
Copy link
Collaborator

webpro commented Mar 19, 2022

FYI, this just landed: #877

@stale
Copy link

stale bot commented Jun 19, 2022

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Jun 19, 2022
@stale stale bot closed this as completed Jul 10, 2022
@ivandov
Copy link
Author

ivandov commented Aug 15, 2022

Is there a way to use the support for multi-branches that landed in #877 to label specific branches as being pre-release branches?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants