-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to manage project version with git tags
To avoid to manage textual version of a project allow poetry to retrieve those informations directly from git tags. To determine the current version number we currently retrieve the highest available tag number. If the version is not available in the pyproject.toml then poetry try to retrieve version from git so project can continue to manage these informations manually. If the version is not available in the pyproject.toml and if it's not a git repository then an exception is raised and we retrieve the previous behavior of poetry.
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters