File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ Global / concurrentRestrictions := Seq(
77 Tags .limit(Tags .Test , 1 )
88)
99
10+ // Use dynamic snapshot version strings for non tagged versions
11+ ThisBuild / dynverSonatypeSnapshots := true
12+ // Use coursier friendly version separator
13+ ThisBuild / dynverSeparator := " -"
14+
1015val buildSettings = Seq [Setting [_]](
1116 organization := " org.msgpack" ,
1217 organizationName := " MessagePack" ,
@@ -32,19 +37,12 @@ val buildSettings = Seq[Setting[_]](
3237 }
3338 },
3439 // Release settings
35- releaseTagName := { (ThisBuild / version).value },
3640 releaseProcess := Seq [ReleaseStep ](
3741 checkSnapshotDependencies,
3842 inquireVersions,
3943 runClean,
4044 runTest,
41- setReleaseVersion,
42- commitReleaseVersion,
4345 tagRelease,
44- releaseStepCommand(" publishSigned" ),
45- releaseStepCommand(" sonatypeBundleRelease" ),
46- setNextVersion,
47- commitNextVersion,
4846 pushChanges
4947 ),
5048 // Add sonatype repository settings
Original file line number Diff line number Diff line change 1- addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.0.15" )
2- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.7" )
3- addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.1.2" )
1+ addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.0.15" )
2+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.7" )
3+ addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.1.2" )
44// TODO: Fixes jacoco error:
55// java.lang.NoClassDefFoundError: Could not initialize class org.jacoco.core.internal.flow.ClassProbesAdapter
66// addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.3.0")
77addSbtPlugin(" org.xerial.sbt" % " sbt-jcheckstyle" % " 0.2.1" )
88addSbtPlugin(" com.typesafe.sbt" % " sbt-osgi" % " 0.9.5" )
99addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.2" )
10+ addSbtPlugin(" com.dwijnand" % " sbt-dynver" % " 4.1.1" )
1011
1112scalacOptions ++= Seq (" -deprecation" , " -feature" )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments