mbarkhau / bumpver

BumpVer: Automatic Versioning
https://github.com/mbarkhau/bumpver
MIT License
191 stars 36 forks source link

Use toml format for examples in the readme #216

Closed routerdieb closed 1 year ago

routerdieb commented 1 year ago

[bumpver] current_version = "1.5.2" version_pattern = "MAJOR.MINOR.PATCH"

[bumpver:file_patterns] setup.py version="{version}",$ src/mymodule/init.py ^version = "{version}"$

Yeah old syntax, this is a very bad experience if even the first example didn't work.

routerdieb commented 1 year ago

bumpver update --dry WARNING - Couldn't parse bumpver.toml: Key name found without value. Reached end of line. (line 6 column 9 char 107) ERROR - Could not parse configuration.

mbarkhau commented 1 year ago

I'd be fine with switch the examples to use toml format and make the format explicit to avoid future confusion. Would you like to open a PR and make this contribution?

mbarkhau commented 1 year ago

Updated with bumpver==2023.1126.