This library is extension for the sbt-release plugin which adds new release steps to keep up version of your libraries in the README file.
Add to the project/plugins.sbt:
addSbtPlugin("ru.dokwork" % "sbt-keepup" % "0.1.0")Just specify README file:
releaseReadmeFile := Some(baseDirectory.value / "README.md")Default regex is: \%\s+\"(\d{1,2}\.\d{1,2}\.\d{1,2})\". If you want change it, you should specify setting:
releaseReadmeVersionRegex := """\d{1,2}\.\d{1,2}\.\d{1,2}""".rThis plugin tries to set the current version of the project as the first found group or replace matched part entirely.