diff --git a/build.sbt b/build.sbt index d84cf9d72..d7d804153 100644 --- a/build.sbt +++ b/build.sbt @@ -88,6 +88,9 @@ val scalacOpts = Seq( // Customise sbt-dynver's behaviour to make it work with tags which aren't v-prefixed ThisBuild / dynverVTagPrefix := false +// We are publishing snapshots to Sonatype +ThisBuild / dynverSonatypeSnapshots := true + // Sanity-check: assert that version comes from a tag (e.g. not a too-shallow clone) // https://github.com/dwijnand/sbt-dynver/#sanity-checking-the-version Global / onLoad := (Global / onLoad).value.andThen { s =>