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

Releasing version 1.0 #497

Closed
BatmanAoD opened this issue Jul 7, 2023 · 3 comments
Closed

Releasing version 1.0 #497

BatmanAoD opened this issue Jul 7, 2023 · 3 comments

Comments

@BatmanAoD
Copy link
Collaborator

Is there a way to use Knope to automate a version bump from 0.x to 1.0?

The rules for breaking changes in the section about 0.x versioning make sense, but I don't see anything about how to explicitly request Knope to bump up to version 1.0.0. Is this possible, or does that change need to be made manually?

@dbanty
Copy link
Member

dbanty commented Jul 8, 2023

I haven’t thought of a way to add that because… well no one has released a 1.0 with this yet as far as I know 😅. So it would be manual for that one version for now—but if you have a suggestion for how that feature should work, I’d love to hear it!

@BatmanAoD
Copy link
Collaborator Author

I do have one idea, which is to provide a way for manually selecting the next version to assign rather than automatically inferring it. Potentially this capability could be restricted to RC versions, so that you'd be required to create an RC before releasing something that skips a major version or bumps from 0.* to 1.0.

I think a command-line flag would be best for this, something like --assign <version>, --next <version>, or just --version <version>. But it could also be restricted to the CreateChangeFile step, so that interactivity is required.

@dbanty
Copy link
Member

dbanty commented Aug 10, 2023

This can now be done with --overide-version! The first of several issues to fix, thanks for reporting/suggesting them all!

@dbanty dbanty closed this as completed Aug 10, 2023
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

No branches or pull requests

2 participants