wiseaidev / bump2version

⬆️ A blazingly fast CLI for managing version numbers in your projects.
https://docs.rs/bump2version
MIT License
2 stars 1 forks source link

Handle new lines in the search and replace patterns #4

Open roumail opened 1 month ago

roumail commented 1 month ago

Hi,

I came across your tool and was wondering if it supports multi-line search and replace.

In case this project is partially inspired by the bump2verion python tool, this is already an open issue there - https://github.com/c4urself/bump2version/issues/235

[bumpversion]
current_version = 1.0.0
[bumpversion:file:VERSION]
search = ## SEARCH
    line
    matching
replace = ##REPLACEMENT

  {new_version} ...
wiseaidev commented 2 weeks ago

Awesome feature! Will ship it soon!