mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
document and use regex line terminator characters
This commit is contained in:
parent
0fb3f5a88a
commit
eb0e282a69
2 changed files with 4 additions and 4 deletions
|
|
@ -118,9 +118,9 @@ version_pattern = "MAJOR.MINOR.PATCH"
|
||||||
|
|
||||||
[bumpver:file_patterns]
|
[bumpver:file_patterns]
|
||||||
setup.py
|
setup.py
|
||||||
version="{version}",
|
version="{version}",$
|
||||||
src/mymodule/__init__.py
|
src/mymodule/__init__.py
|
||||||
__version__ = "{version}"
|
^__version__ = "{version}"$
|
||||||
```
|
```
|
||||||
|
|
||||||
Using this configuration, the output of `bumpver update --dry` might look something like this:
|
Using this configuration, the output of `bumpver update --dry` might look something like this:
|
||||||
|
|
|
||||||
|
|
@ -102,9 +102,9 @@ bootstrapit.sh =
|
||||||
setup.cfg =
|
setup.cfg =
|
||||||
current_version = "{version}"
|
current_version = "{version}"
|
||||||
setup.py =
|
setup.py =
|
||||||
version="{pep440_version}",
|
version="{pep440_version}",$
|
||||||
src/bumpver/__init__.py =
|
src/bumpver/__init__.py =
|
||||||
__version__ = "{version}"
|
^__version__ = "{version}"$
|
||||||
src/bumpver/cli.py =
|
src/bumpver/cli.py =
|
||||||
@click.version_option(version="{version}")
|
@click.version_option(version="{version}")
|
||||||
src/bumpver/*.py =
|
src/bumpver/*.py =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue