Skip to content

Allow the creation of prereleases above v1.0 #2335

Open
@henworth

Description

Thanks for stopping by to let us know something could be better!

Is your feature request related to a problem? Please describe.

Currently it seems creating prerelease versions above 1.0 are not allowed. I believe this line is responsible for preventing that. I'm curious if this is intended or if the maintainers would be willing to allow this behavior.

My workflow creates a prerelease for integration testing, for which a image is built and pushed to that environment. Once those tests are successful we promote it by changing the GitHub prerelease to a full release. This process worked fine until a repo reached v1.0.0 after which I observed Release Please was no longer creating prereleases and pipelines started breaking.

Describe the solution you'd like

Provide a way for Release Please to respect prerelease: true irrespective of the released version.

Describe alternatives you've considered

I have considered a prerelease versioning strategy, but that would require extra effort to add and remove versioning strings or relabel container images. That very well might work but is less clean (in my opinion) than what was previously working just fine.

Additional context

None.

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions