mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
fix tests
This commit is contained in:
parent
0e1a6271a3
commit
946cdaa5ba
13 changed files with 199 additions and 1333 deletions
8
test/fixtures/project_a/pycalver.toml
vendored
8
test/fixtures/project_a/pycalver.toml
vendored
|
|
@ -1,10 +1,16 @@
|
|||
[pycalver]
|
||||
current_version = "{initial_version}"
|
||||
current_version = "v201710.0123-alpha"
|
||||
commit = true
|
||||
tag = true
|
||||
push = true
|
||||
|
||||
[pycalver.file_patterns]
|
||||
"pycalver.toml" = [
|
||||
'current_version = "{version}"',
|
||||
]
|
||||
|
||||
"README.md" = [
|
||||
"{version}",
|
||||
"{pep440_version}",
|
||||
]
|
||||
|
||||
|
|
|
|||
13
test/fixtures/project_b/setup.cfg
vendored
Normal file
13
test/fixtures/project_b/setup.cfg
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[pycalver]
|
||||
current_version = v201307.0456-beta
|
||||
commit = True
|
||||
tag = True
|
||||
push = True
|
||||
|
||||
[pycalver:file_patterns]
|
||||
setup.cfg =
|
||||
current_version = {version}
|
||||
setup.py =
|
||||
version="{pep440_version}"
|
||||
README.rst =
|
||||
img.shields.io/badge/PyCalVer-{calver}{build}--{release}-blue
|
||||
3
test/fixtures/project_b/setup.py
vendored
Normal file
3
test/fixtures/project_b/setup.py
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import setuptools
|
||||
|
||||
setuptools.setup(name="mylib", license="MIT", version="201307.456b0", keywords="awesome library")
|
||||
Loading…
Add table
Add a link
Reference in a new issue