Compare commits
1 Commits
1.0.9.post
...
1.0.10.pos
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1b1901f8a |
@@ -14,7 +14,7 @@ _A tiny library to help versioning management of git python projects_
|
||||
|
||||
Because a good developer is a lazy developer and version management in CI/CD can be very time consuming.
|
||||
|
||||
Checkout [Latest Documentation](https://chacha.ddns.net/mkdocs-web/chacha/pygitversionhelper/{{branch}}/latest/).
|
||||
Checkout [Latest Documentation](https://chacha.ddns.net/mkdocs-web/chacha/{{repository}}/{{branch}}/latest/).
|
||||
|
||||
## Features
|
||||
- list tags
|
||||
@@ -23,7 +23,7 @@ Checkout [Latest Documentation](https://chacha.ddns.net/mkdocs-web/chacha/pygitv
|
||||
- get current version (bumped)
|
||||
- convert / switch from SemVer to PEP440 (both ways)
|
||||
- automatic version format detection (SemVer by default)
|
||||
- Get commit message history
|
||||
- get commit message history
|
||||
|
||||
## Options
|
||||
- restrict to same branch
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# work. If not, see <https://creativecommons.org/licenses/by-nc-sa/4.0/>.
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=63", "wheel", "setuptools_scm"]
|
||||
requires = ["setuptools>=63", "wheel", "setuptools_scm","hatchling", "hatch-fancy-pypi-readme"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools_scm]
|
||||
@@ -16,7 +16,6 @@ version_scheme= "post-release"
|
||||
[project]
|
||||
name = "pygitversionhelper"
|
||||
description = "pygitversionhelper"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
keywords = ["chacha","chacha","template","pygitversionhelper"]
|
||||
license = { file = "LICENSE.md" }
|
||||
@@ -36,7 +35,21 @@ dependencies = [
|
||||
'importlib-metadata; python_version<"3.9"',
|
||||
'packaging'
|
||||
]
|
||||
dynamic = ["version"]
|
||||
dynamic = ["version","readme"]
|
||||
|
||||
[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
||||
content-type = "text/markdown"
|
||||
|
||||
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
path = "README.md"
|
||||
|
||||
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
|
||||
pattern = "{{repository}}"
|
||||
replacement = "pygitversionhelper"
|
||||
|
||||
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
|
||||
pattern = "{{branch}}"
|
||||
replacement = "master"
|
||||
|
||||
[tool.setuptools]
|
||||
platforms = ["any"]
|
||||
|
||||
Reference in New Issue
Block a user