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

bump2version is deprecated, new development is in **Bump My Version** #243

Open
SterlingPeet opened this issue Dec 6, 2023 · 3 comments

Comments

@SterlingPeet
Copy link

Looks like the latest development in the bumpversion saga is another project change:

bump2version

Bump My Version

Figured you might be interested to know, especially since the new project supports pyproject.toml. Out of curiosity, are you using tbump in your projects? I would like for my version bump, commit, and tagging command to include auto-generation of my changelog. It appears that tbump may be better suited to doing that for me, rather than me having to hack in some sort of git amend script around the bump[2]version command.

@ionelmc
Copy link
Owner

ionelmc commented Dec 10, 2023

Ooof.... it's not a drop in replacement. I'll give it a try tho.

tbump - I have tried it, works well enough, with the nice addition of being able to run arbitrary commands on bump. I still like that I can just run bumpversion patch all the time and not have to think what my next version is tho...

@SterlingPeet
Copy link
Author

I can agree on bumpversion patch, I guess I didn't realize the missing calculation aspect of tbump. I generate changelogs with a custom gitchangelog configuration, and it would be nice to let the tool tag and upload. Unfortunately, I have to to git amend the changelog into my version bump commit then tag and push everything manually. The changelogs look great though!

@SterlingPeet
Copy link
Author

Hey, so I reached to these guys last week about bumping the date along with the version. They responded very quickly and the tool itself is way more flexible than the predecessors.

callowayproject/bump-my-version#141

Plus, it supports your desire not to worry about the exact version number, you just need to add an extra argument because they expanded the code bump-my-version bump minor.

Given my experience, I'm upgrading my recommendation: I think you should seriously consider switching to this as your default.

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