Skip to content

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.

License

Notifications You must be signed in to change notification settings

dokwork/sbt-keepup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

sbt/sbt-release#217

muuki88/sbt-release#1

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages