File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,25 @@ source = [
39
39
[tool .coverage .run ]
40
40
parallel = true
41
41
42
- [tool .bumpver ]
42
+ [tool .bumpversion ]
43
43
current_version = " 1.0.3-dev"
44
- version_pattern = " MAJOR.MINOR.PATCH[-TAG]"
45
- commit = false
44
+ parse = """ (?x)
45
+ (?P<major>[0-9]+)
46
+ \\ .(?P<minor>[0-9]+)
47
+ \\ .(?P<patch>[0-9]+)
48
+ (?:-(?P<pre_label>dev))?
49
+ """
50
+ serialize = [" {major}.{minor}.{patch}-{pre_label}" , " {major}.{minor}.{patch}" ]
51
+ commit = true
52
+ message = " chore: Bump schema package to {new_version}"
53
+ # Use --tag on releases
54
+ tag = false
55
+ tag_name = " schema-{new_version}"
56
+ tag_message = " Schema release {new_version}"
46
57
47
- [tool .bumpver .file_patterns ]
48
- "src/bidsschematools/data/schema/SCHEMA_VERSION" = [' {version}' ]
58
+ [tool .bumpversion .parts .pre_label ]
59
+ values = [" dev" , " final" ]
60
+ optional_value = " final"
61
+
62
+ [[tool .bumpversion .files ]]
63
+ filename = " ../../src/schema/SCHEMA_VERSION"
You can’t perform that action at this time.
0 commit comments