poetry-version-plugin
poetry-version-plugin copied to clipboard
Don't complain when running poetry in a non git repo
When ever I run poetry in a non git repo I get the following error:
poetry-git-version-plugin: ValueError: Reference at 'refs/heads/main' does not exist. Ignore Exception.
As it is not a git repo, the plugin should not kick in, an this not show any errors.