-
Notifications
You must be signed in to change notification settings - Fork 15
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
Get current version #15
Comments
I've been swamped at work the past few days, but wanted to at least acknowledge you. This very thing is something I'll be tackling this/next week. |
Thanks @coordt for taking the time to answer this. No rush though! I still have work on my side to integrate it to my workflow. There's also a non-zero chance that I might propose some PR in the future. 🤗 |
For the record, the original feature request was covered by: c4urself/bump2version#57 |
I'm post-poning this until I finish the first part of #16 (which I am almost done with). It will make the interface for showing information easier, I think. |
@kdeldycke Hey, I just created a pull request for this issue. I'm currently modifying the docs, but if you wanted to take a look, I'd appreciate it. |
OK, playing with your |
Thanks @coordt for resurrecting the
bumpversion
project!Description
I'd like to have a way for the
bump-my-version
CLI to tell me which version my project is currently at.What I Did
I naively supposed the
--current-version
parameter did that, but that's not the case:I need this for some of my release automation. Before I switched to
bump-my-version
, I relied on janky code, like shell one-liner:And its version integrated in GitHub workflow:
But now with the possibility offered by
bump-my-version
to source its configuration from multiple location (including thepyproject.toml
file), its hard to reproduce the internals ofbump-my-version
.That's why having a way to fetch the canonical current version by the way of the CLI would improve reliability.
The text was updated successfully, but these errors were encountered: