question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`part` should not be required if supplying `--new-version`

See original GitHub issue

This 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:open
  • Created 5 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

2reactions
luckydonaldcommented, Aug 9, 2018

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.

1reaction
ederagcommented, Feb 10, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found