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

Feature: bumping patch, minor and major versions more easily #134

Closed
InCogNiTo124 opened this issue Jan 17, 2022 · 3 comments
Closed

Feature: bumping patch, minor and major versions more easily #134

InCogNiTo124 opened this issue Jan 17, 2022 · 3 comments

Comments

@InCogNiTo124
Copy link
Contributor

At the moment, tbump works by providing the version to upgrade to.

however, this implies knowledge about the current version of the developed software. Sometimes after many weeks of not working on a particular project I honestly forget with which version I tagged it last time. 😅

Sure, I can look it up in pyproject.toml or git log, but I suggest the following new flags:

  • tbump --patch to bump the patch version (eg from v0.0.2 to v0.0.3)
  • tbump --minor to bump the minor version (eg from v0.0.3 to v0.1.0)
  • tbump --major to bump the major version (eg from v0.1.0 to v1.0.0)
@dmerejkowsky
Copy link
Collaborator

Sorry, there's already been a discussion about this. See #73, #107

@InCogNiTo124
Copy link
Contributor Author

Oh, okay. Sorry for not searching beforehand 😅

Does that mean that, even if someone were to implement that functionality and contribute, you still wouldn't merge it?

@dmerejkowsky
Copy link
Collaborator

Does that mean that, even if someone were to implement that functionality and contribute, you still wouldn't merge it?

Yup. That would be a disservice to future maintainers - which could include that very same benevolent contributor :)

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