mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
update defaults and tests
This commit is contained in:
parent
5f66a42c17
commit
a3499c19a6
17 changed files with 400 additions and 306 deletions
2
test/fixtures/project_a/README.md
vendored
2
test/fixtures/project_a/README.md
vendored
|
|
@ -1,3 +1,3 @@
|
|||
# PyCalVer README Fixture
|
||||
# Python CalVer README Fixture
|
||||
|
||||
Current Version: v2016.0123-alpha
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
[pycalver]
|
||||
[calver]
|
||||
current_version = "v2017.0123-alpha"
|
||||
version_pattern = "vYYYY.BUILD[-TAG]"
|
||||
commit = true
|
||||
tag = true
|
||||
push = true
|
||||
|
||||
[pycalver.file_patterns]
|
||||
"pycalver.toml" = [
|
||||
[calver.file_patterns]
|
||||
"calver.toml" = [
|
||||
'current_version = "{version}"',
|
||||
]
|
||||
|
||||
4
test/fixtures/project_b/setup.cfg
vendored
4
test/fixtures/project_b/setup.cfg
vendored
|
|
@ -1,11 +1,11 @@
|
|||
[pycalver]
|
||||
[calver]
|
||||
current_version = v201307.0456-beta
|
||||
version_pattern = {pycalver}
|
||||
commit = True
|
||||
tag = True
|
||||
push = True
|
||||
|
||||
[pycalver:file_patterns]
|
||||
[calver:file_patterns]
|
||||
setup.cfg =
|
||||
current_version = {version}
|
||||
setup.py =
|
||||
|
|
|
|||
7
test/fixtures/project_b/setup.py
vendored
7
test/fixtures/project_b/setup.py
vendored
|
|
@ -1,3 +1,8 @@
|
|||
import setuptools
|
||||
|
||||
setuptools.setup(name="mylib", license="MIT", version="201307.456b0", keywords="awesome library")
|
||||
setuptools.setup(
|
||||
name="mylib",
|
||||
license="MIT",
|
||||
version="201307.456b0",
|
||||
keywords="awesome library",
|
||||
)
|
||||
|
|
|
|||
2
test/fixtures/project_c/pyproject.toml
vendored
2
test/fixtures/project_c/pyproject.toml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
[pycalver]
|
||||
[calver]
|
||||
current_version = "v2017q1.54321"
|
||||
version_pattern = "v{year}q{quarter}.{build_no}"
|
||||
commit = true
|
||||
|
|
|
|||
2
test/fixtures/project_d/pyproject.toml
vendored
2
test/fixtures/project_d/pyproject.toml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
[pycalver]
|
||||
[calver]
|
||||
current_version = "v2017q1.54321"
|
||||
version_pattern = "vYYYYqQ.BUILD"
|
||||
commit = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue