-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add a bump command to increment package version. #334
Comments
A |
Then maybe extend that with bumping the packages __init__.py? Probably not in tests though, just to remind the devs of a package, that they might need to update the tests as well. |
Editing .py files is very complicated and dangerous, but maybe someone will think of a nice solution. This discussion is taking place in #144. |
I wrote a version bumper that targets source code- there are a lot of challenges in doing this in a way that works universally. If anyone is curious, here is: |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When using the
poetry new
command, a lot of files get generated.First there's the, probably, most important file,
pyproject.toml
.Then, there's the package itself
[name]\__init__.py
.And last but not least, the tests folder.
Each of these, contain a reference to the package's version (default being
0.1.0
). Because of them being automatically generated, I think it would be nice, if there was apoetry bump
command, that could automatically bump version in all three of the files.The text was updated successfully, but these errors were encountered: