-
Notifications
You must be signed in to change notification settings - Fork 134
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
Dynamically generate an dashed line based on version string length #126
Comments
So you want to influence the width of the dashed line based on the width of the version string... Bump2verson does not use f-strings because we still support Python 3.5. I don't think there's a way to achieve the desired effect in bump2version itself. Possible workarounds
|
Indeed, great workaround. |
You can combine it wit |
Sorry, I wasn't clear. |
Ah yes, if I just opened #127 to fix this. |
for the record, I finally end up with:
which works (as long as |
Good find to use I guess you can now move the dashed line out of your config file, into the changelog. |
I keep the dashed line in the config to avoid needing to copy it each time, I just type "(dev)" and I am good to go |
I would like to convert the follwing in my changelog with bump2version
I have tried something like
but bump2version uses string format and not f-string.
Is there some way to do this ?
The text was updated successfully, but these errors were encountered: