play-json icon indicating copy to clipboard operation
play-json copied to clipboard

Commit release version to README.md

Open aaabramov opened this issue 5 years ago • 4 comments

If would we awesome if sbt release process will have additional step with modifying README with latest version before commiting version changes.

As an example we can take: https://github.com/bot4s/telegram/blob/master/project/TelegramBot4sRelease.scala

aaabramov avatar Sep 06 '18 19:09 aaabramov

BTW, jsoniter-scala already do it before committing of released version, fill free to adopt it for your release process: https://github.com/plokhotnyuk/jsoniter-scala/blob/master/release.sbt#L4-L15

plokhotnyuk avatar Sep 06 '18 19:09 plokhotnyuk

@plokhotnyuk nice, in telegram4s it is achieved using sbt-release plugin without explicitly using git executable

aaabramov avatar Sep 06 '18 19:09 aaabramov

@aaabramov could you, please, point which option of its build.sbt toggle it? Just wondering if it capable to update version in badge links, etc.

plokhotnyuk avatar Sep 06 '18 20:09 plokhotnyuk

@plokhotnyuk could you clarify your question, please? By using this example we can update everything that we need by matching RegExps in ReadME.

aaabramov avatar Sep 06 '18 20:09 aaabramov