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

An error message that could be enhanced #157

Closed
JulienPalard opened this issue Mar 18, 2021 · 3 comments
Closed

An error message that could be enhanced #157

JulienPalard opened this issue Mar 18, 2021 · 3 comments

Comments

@JulienPalard
Copy link
Contributor

Hi Manuel, thanks for bumpver! I'm trying it today and found a strange error message:

First, something normal:

$ bumpver test '21.3.17' 'YY.MM.DD'
New Version: 21.3.18

I'm happy!

Now I'm trying to re-bump the same version the same day, it can't work, I know:

$ bumpver test '21.3.18' 'YY.MM.DD'
ERROR   - Invalid arguments or pattern, version did not change.
ERROR   - Invalid version '21.3.18' and/or pattern 'YY.MM.DD'.

The "version did not change." error is usefull, but the "Invalid version '21.3.18' and/or pattern 'YY.MM.DD'" is missleading, I though I had an error in my version or my pattern.

@mbarkhau
Copy link
Owner

Yes I think the second message is a general error message generated as a catchall and should probably be omitted.

@mbarkhau
Copy link
Owner

@JulienPalard
Copy link
Contributor Author

Thanks!

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