Commit 693e804
committed
fix(bump): Support regexes containing colons
The version_files feature uses a colon to delimit filenames from a regex
to use to find the version. Make version_files slightly more robust by
splitting on the first colon rather than all colons, thereby permitting
the regex to contain a colon. Maintain the pre-existing assumption that
the filename doesn't contain a colon, as this is rare and would likely
cause many other problems.1 parent 2110a14 commit 693e804
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
0 commit comments