File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,16 @@ lazy val root = project.in(file("."))
22 .aggregate(parserCombinatorsJVM, parserCombinatorsJS, parserCombinatorsNative)
33 .settings(
44 publish / skip := true ,
5+ ThisBuild / versionScheme := Some (" early-semver" ),
6+ ThisBuild / versionPolicyIntention := Compatibility .BinaryAndSourceCompatible
57 )
68
79lazy val parserCombinators = crossProject(JVMPlatform , JSPlatform , NativePlatform )
810 .in(file(" ." ))
911 .settings(
1012 ScalaModulePlugin .scalaModuleSettings,
1113 name := " scala-parser-combinators" ,
12- scalaModuleMimaPreviousVersion := None , // until we publish 1.2.0
14+ scalaModuleMimaPreviousVersion := Some ( " 1.2.0-M2 " ),
1315
1416 libraryDependencies += " junit" % " junit" % " 4.13.2" % Test ,
1517 libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % Test ,
Original file line number Diff line number Diff line change @@ -53,4 +53,4 @@ export CI_SNAPSHOT_RELEASE="${projectPrefix}publish"
5353# for now, until we're confident in the new release scripts, just close the staging repo.
5454export CI_SONATYPE_RELEASE=" ; sonatypePrepare; sonatypeBundleUpload; sonatypeClose"
5555
56- sbt clean ${projectPrefix} test ${projectPrefix} publishLocal $releaseTask
56+ sbt clean ${projectPrefix} test ${projectPrefix} versionPolicyCheck ${projectPrefix} publishLocal $releaseTask
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
1212addSbtPlugin(" org.portable-scala" % " sbt-scala-native-crossproject" % " 1.0.0" )
1313addSbtPlugin(" org.scala-native" % " sbt-scala-native" % scalaNativeVersion)
1414
15+ addSbtPlugin(" ch.epfl.scala" % " sbt-version-policy" % " 1.0.0-RC5" )
1516addSbtPlugin(" ch.epfl.lamp" % " sbt-dotty" % " 0.5.3" )
You can’t perform that action at this time.
0 commit comments