Skip to content

Commit 26a52c8

Browse files
committed
ci(renovate): fix regex to target only app version
1 parent 160e415 commit 26a52c8

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.releaserc.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,18 @@ plugins:
1010
- replacements:
1111
- files:
1212
- "pyproject.toml"
13-
from: "version = \".*\""
14-
to: "version = \"${nextRelease.version}\""
13+
from: "version = '.*'"
14+
to: "version = '${nextRelease.version}'"
15+
results:
16+
- file: "pyproject.toml"
17+
hasChanged: true
18+
numMatches: 1
19+
numReplacements: 1
20+
countMatches: true
21+
- files:
22+
- "pyproject.toml"
23+
from: "version_variable = \\[\\s*\"pyproject.toml:version\"\\s*\\]"
24+
to: "version_variable = [\"pyproject.toml:version\"]"
1525
results:
1626
- file: "pyproject.toml"
1727
hasChanged: true

0 commit comments

Comments
 (0)