Project Manager Versioning tool.
Project description
Proman Versioning
Overview
Project Manager Versioning tool is a PEP-440 compliant tool for automating project versions using conventional commits.
Install
pip install proman-versioning
Setup
This tool is designed to work with any textfile using a templating pattern and path to the file.
Configuring versioning
Release versions can be configured by choosing the types of releases to use if any.
Disable devrelease:
enable_devreleases = false
Disable prereleases:
enable_prereleases = false
Disable postreleases:
enable_postreleases = false
Example .versioning
The .versioning
config is a non-specfile based project file using TOML. This is the
preferred configuration for non-python projects that may use this tool.
[proman]
version = "1.2.3"
[proman.versioning]
[[tool.proman.versioning.files]]
filepath = "pyproject.toml"
pattern = "version = \"${version}\""
[[proman.versioning.files]]
filepath = "example/__init__.py"
pattern = "__version__ = '${version}'"
Example pyproject.toml
[tool.proman]
version = "1.2.3"
[tool.proman.versioning]
[[tool.proman.versioning.files]]
filepath = "pyproject.toml"
pattern = "version = \"${version}\""
[[tool.proman.versioning.files]]
filepath = "example/__init__.py"
pattern = "__version__ = '${version}'"
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proman-versioning-0.1.1a11.tar.gz
(18.0 kB
view hashes)
Built Distribution
Close
Hashes for proman-versioning-0.1.1a11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef70ba9ed87ea99d89198287d319776a14e51cf595172b8c4acd529f93364667 |
|
MD5 | 53da2658c1cb6929968e6dec0d08c5f7 |
|
BLAKE2b-256 | 99db6199ae0e884f68eae8c915bb056637790c390bb5cc7e3617c3bc96a6d8b2 |
Close
Hashes for proman_versioning-0.1.1a11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2dbe5eab80b50daf45ba155dca5d87351fab7c5d16e6b15f4ce1f5494591113 |
|
MD5 | 181839336b5a444ec02902c3d39cc8dc |
|
BLAKE2b-256 | 694ba3cf4bba954396f52b15fb4c75da2fe4e512449cba6c37b343f40a596dd5 |