Add more flexible parsing and formating

This commit is contained in:
Manuel Barkhau 2019-01-06 14:38:20 +01:00
parent 32447b03d4
commit 9eda61d95b
13 changed files with 932 additions and 359 deletions

View file

@ -75,15 +75,15 @@ push = True
[pycalver:file_patterns]
bootstrapit.sh =
PACKAGE_VERSION="{version}"
PACKAGE_VERSION="{pycalver}"
setup.cfg =
current_version = {version}
current_version = {pycalver}
setup.py =
version="{pep440_version}"
version="{pep440_pycalver}"
src/pycalver/__init__.py =
__version__ = "{version}"
__version__ = "{pycalver}"
src/pycalver/__main__.py =
click.version_option(version="{version}")
click.version_option(version="{pycalver}")
README.md =
[PyCalVer {version}]
https://img.shields.io/badge/PyCalVer-{calver}{build}-blue.svg