You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
Would it be possible to bypass this git tag check except and only during a build? We only need it during a build right.
During Dockerfile builds or any other shell commands, it complains about not having a tag for basic poetry commands. It should only complain during a poetry build.
poetry-version-plugin: No Git tag found, not extracting dynamic version
at /usr/local/lib/python3.8/site-packages/poetry_version_plugin/plugin.py:106 in activate
102│ "poetry-version-plugin: No Git tag found, not "
103│ "extracting dynamic version"
104│ )
105│ io.write_error_line(message)
→ 106│ raise RuntimeError(message)
107│
The text was updated successfully, but these errors were encountered:
Then in the plugin.py, after checking for exit code, if we get a non-zero, we could simply warning.warn() the message, rather than raise an exception. We could raise the exception if git-tag-check = true of course.
Would it be possible to bypass this git tag check except and only during a build? We only need it during a build right.
During Dockerfile builds or any other shell commands, it complains about not having a tag for basic poetry commands. It should only complain during a
poetry build
.The text was updated successfully, but these errors were encountered: