Skip to content

Commit

Permalink
Add automatic library version update for docs during release
Browse files Browse the repository at this point in the history
  • Loading branch information
plokhotnyuk committed Nov 22, 2024
1 parent 1b49510 commit 870002c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ lazy val updateVersionInReadmeAndExamples: ReleaseStep = { st: State =>
s"git add $path" !! st.log
}

Seq(
"README.md",
"docs/tutorials/1-getting-started.md",
"docs/tutorials/1-getting-started.scala",
).foreach(updateFile)
updateFile("README.md")
(1 to 3).foreach(n => updateFile(s"jsoniter-scala-examples/example0$n.sc"))

Expand Down

0 comments on commit 870002c

Please sign in to comment.