Skip to content

Commit

Permalink
chore: fix default format (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
slivkamiro authored Oct 15, 2024
1 parent 674d5c0 commit 7aed59a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ addSbtPlugin("io.github.slivkamiro" % "sbt-calver" % "x.y.z")

Supported configuration options:

* `versionFormat` - changes how the date is formatted in version , defaults to `YY.0M` which produces version like `YY.0M.patch`
* `versionFormat` - changes how the date is formatted in version , defaults to `YY.MM` which produces version like `YY.MM.patch`

Assuming default `versionFormat` your version will be set to:

Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/me/slivkamiro/calver/CalverPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object CalverPlugin extends AutoPlugin {
import autoImport._

override def buildSettings: Seq[Setting[_]] = Seq(
versionFormat := "YY.0M",
versionFormat := "YY.MM",
calverDate := new Date,
version := getVersion.value(
buildBase.value,
Expand Down

0 comments on commit 7aed59a

Please sign in to comment.