Skip to content

Commit 12d44b5

Browse files
committed
Fix bumpversion regex
1 parent 36adcf4 commit 12d44b5

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

.bumpversion.cfg

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ commit = True
44
tag = True
55

66
[bumpversion:file:third-party/package.json]
7-
search = version='{current_version}'
8-
replace = version='{new_version}'
7+
search = "version": "{current_version}"
8+
replace = "version": "{new_version}"
99

10-
[bumpversion:file:docs/conf.py]
11-
search = version='{current_version}'
12-
replace = version='{new_version}'
10+
[bumpversion:file:doc/conf.py]
1311

1412
[bumpversion:file:CITATION.cff]
15-
search = version='{current_version}'
16-
replace = version='{new_version}'
13+
search = version: {current_version}
14+
replace = version: {new_version}

CITATION.cff

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ authors:
5252
affiliation: University of Washington
5353
- given-names: djrain
5454
family-names: ''
55-
version: 0.0.4
56-
date-released: 2020-10-27
55+
version: 1.0.0
5756
repository-code: https://github.com/devosoft/Empirical
5857
license: MIT

0 commit comments

Comments
 (0)