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
Autolabel versions #38
Comments
https://pre-commit.com/ works as entry point https://gitpython.readthedocs.io/en/stable/ is used to modify tags |
can't tag in pre-commit, need post-commit at the earliest. Still can't really change python code from cli without risking integrity. -> python to git needed instead |
won't work. Commit needs to exist to be tagged, pre-push is too late as it won't allow "staging" the tag as well. post-commit needed, see pre-commit/pre-commit#1411 |
Oh, btw, pycharm push won't respect pipenv shell, see pre-commit/pre-commit#1412 |
Use a common source for both versions instead?
|
Git hook reference: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks |
GitPython could push the new tag by itself, but pushing inside a push hook sounds like a really stupid idea, especially since the inner push tag refers to an outer push commit. |
https://youtrack.jetbrains.com/issue/PY-12988 should make these prefixes obsolete |
Track versions only in git, depend everything else on it.
>>
?)The text was updated successfully, but these errors were encountered: