`part` should not be required if supplying `--new-version`
See original GitHub issueThis one is pretty basic, but I must be missing something in how people are using this.
Part shouldn’t be a required field if you’re supplying --new-version
. It doesn’t make any sense.
If I’m at 0.1.0, and I want to go to 0.1.1, I should be able to do: bumpversion --new-version 0.1.1
. I know I can just do bumpversion minor
but in this scenario the version is being driven by CI so it may not be sequential.
Anyways, seems like a bug. But this project is old enough that I probably just took some crazy pills. 😃
You be the judge!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:8
Top Results From Across the Web
SQLiteOpenHelper
DO NOT USE this method. This feature has negative side effects that are very hard to foresee. See the javadoc of SQLiteDatabase.OpenParams.
Read more >Standard Form 86 - Questionnaire for National Security
Providing this information is voluntary. If you do not provide each item of requested information, however, we will not be able to complete...
Read more >Medicare Claims Processing Manual, Chapter 26
Providers sending professional and supplier claims to Medicare on paper must use Form. CMS-1500 in a valid version. This form is maintained ...
Read more >vault/token_store.go at main · hashicorp/vault
tokenRevocationPending indicates that the token should not be used. // again. If this is encountered during an existing request flow, it means.
Read more >Launch template support - Amazon EKS
You can supply Amazon EC2 user data in your launch template using cloud-init when launching your instances. For more information, see the cloud-init ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Until that is implemented/fixed specifying any part does work.
$ bump2version lolwat --new-version=0.1.1
Bonus: a nice place to hide meme eastereggs in your CI flow.
To me too (as a random user feedback; the following is only what would be natural to me), when
--new-version
is used, the new version should be exactly the one provided. No smart heuristics (they break too often). An error when the new version is not compatible with the regex would be fine. But then a--force
option (#131) would allow to bypass this check and proceed.