dokwork / sbt-keepup

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.

Version Matrix

Keep up

Build Status Download

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.

Installation

Add to the project/plugins.sbt:

addSbtPlugin("ru.dokwork" % "sbt-keepup" % "0.1.0")

How to use:

Just specify README file:

releaseReadmeFile := Some(baseDirectory.value / "README.md")

Custom regex pattern

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}""".r

This plugin tries to set the current version of the project as the first found group or replace matched part entirely.

PR to the original project

https://github.com/sbt/sbt-release/pull/217

https://github.com/muuki88/sbt-release/pull/1