Skip to content

Commit

Permalink
Upgrade to Scala 2.13.4
Browse files Browse the repository at this point in the history
This requires a single source code change to handle
scala/scala#9292.
  • Loading branch information
smarter committed Nov 19, 2020
1 parent a7abc64 commit fae1dc9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
54 changes: 27 additions & 27 deletions README.md
Expand Up @@ -221,33 +221,33 @@ Before publishing any patch release, binary compatibility with previous version
$ sbt ++2.12.12 scalatestShouldMatchersJS/package scalatestShouldMatchersJS/mimaReportBinaryIssues
$ sbt ++2.12.12 scalatestMustMatchersJS/package scalatestMustMatchersJS/mimaReportBinaryIssues

$ sbt ++2.13.3 scalactic/package scalactic/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestCore/package scalatestCore/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFeatureSpec/package scalatestFeatureSpec/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFlatSpec/package scalatestFlatSpec/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFreeSpec/package scalatestFreeSpec/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFunSuite/package scalatestFunSuite/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFunSpec/package scalatestFunSpec/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestPropSpec/package scalatestPropSpec/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestRefSpec/package scalatestRefSpec/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestWordSpec/package scalatestWordSpec/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestDiagrams/package scalatestDiagrams/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestMatchersCore/package scalatestMatchersCore/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestShouldMatchers/package scalatestShouldMatchers/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestMustMatchers/package scalatestMustMatchers/mimaReportBinaryIssues
$ sbt ++2.13.3 scalacticJS/package scalacticJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestCoreJS/package scalatestCoreJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFeatureSpecJS/package scalatestFeatureSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFlatSpecJS/package scalatestFlatSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFreeSpecJS/package scalatestFreeSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFunSuiteJS/package scalatestFunSuiteJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestFunSpecJS/package scalatestFunSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestPropSpecJS/package scalatestPropSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestWordSpecJS/package scalatestWordSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestDiagramsJS/package scalatestDiagramsJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestMatchersCoreJS/package scalatestMatchersCoreJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestShouldMatchersJS/package scalatestShouldMatchersJS/mimaReportBinaryIssues
$ sbt ++2.13.3 scalatestMustMatchersJS/package scalatestMustMatchersJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalactic/package scalactic/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestCore/package scalatestCore/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFeatureSpec/package scalatestFeatureSpec/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFlatSpec/package scalatestFlatSpec/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFreeSpec/package scalatestFreeSpec/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFunSuite/package scalatestFunSuite/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFunSpec/package scalatestFunSpec/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestPropSpec/package scalatestPropSpec/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestRefSpec/package scalatestRefSpec/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestWordSpec/package scalatestWordSpec/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestDiagrams/package scalatestDiagrams/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestMatchersCore/package scalatestMatchersCore/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestShouldMatchers/package scalatestShouldMatchers/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestMustMatchers/package scalatestMustMatchers/mimaReportBinaryIssues
$ sbt ++2.13.4 scalacticJS/package scalacticJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestCoreJS/package scalatestCoreJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFeatureSpecJS/package scalatestFeatureSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFlatSpecJS/package scalatestFlatSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFreeSpecJS/package scalatestFreeSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFunSuiteJS/package scalatestFunSuiteJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestFunSpecJS/package scalatestFunSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestPropSpecJS/package scalatestPropSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestWordSpecJS/package scalatestWordSpecJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestDiagramsJS/package scalatestDiagramsJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestMatchersCoreJS/package scalatestMatchersCoreJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestShouldMatchersJS/package scalatestShouldMatchersJS/mimaReportBinaryIssues
$ sbt ++2.13.4 scalatestMustMatchersJS/package scalatestMustMatchersJS/mimaReportBinaryIssues

To publish scalatest modules for jvm, js, native and dotty, use the following commands:

Expand Down
Expand Up @@ -1383,7 +1383,7 @@ private[scalatest] object RefSpec {
else
value

val bytes = Codec.toUTF8(toHash.toArray)
val bytes = Codec.toUTF8(toHash)
val md5 = MessageDigest.getInstance("MD5")
md5.update(bytes)
val md5chars = (md5.digest() map (b => (b & 0xFF).toHexString)).mkString
Expand Down
4 changes: 2 additions & 2 deletions project/BuildCommons.scala
Expand Up @@ -6,7 +6,7 @@ import scala.io.Source
trait BuildCommons {

lazy val scalaVersionsSettings: Seq[Setting[_]] = Seq(
crossScalaVersions := Seq("2.13.3", "2.12.12", "2.11.12", "2.10.7"),
crossScalaVersions := Seq("2.13.4", "2.12.12", "2.11.12", "2.10.7"),
scalaVersion := crossScalaVersions.value.head,
)

Expand Down Expand Up @@ -136,4 +136,4 @@ trait BuildCommons {
doc in Compile := docTask((doc in Compile).value,
(sourceDirectory in Compile).value,
name.value)
}
}
6 changes: 3 additions & 3 deletions publish.sh
Expand Up @@ -7,7 +7,7 @@ export SCALAJS_VERSION=1.3.0
sbt "project scalacticMacroJS" clean
sbt ++2.11.12 "project scalacticJS" clean publishSigned
sbt ++2.12.12 "project scalacticJS" clean publishSigned
sbt ++2.13.3 "project scalacticJS" clean publishSigned
sbt ++2.13.4 "project scalacticJS" clean publishSigned
export SCALANATIVE_VERSION=0.4.0-M2
sbt "project scalacticMacroNative" clean
sbt ++2.11.12 "project scalacticNative" clean publishSigned
Expand All @@ -26,7 +26,7 @@ sbt "project scalacticMacroJS" clean
sbt "project scalacticJS" clean
sbt ++2.11.12 "project scalatestJS" clean publishSigned
sbt ++2.12.12 "project scalatestJS" clean publishSigned
sbt ++2.13.3 "project scalatestJS" clean publishSigned
sbt ++2.13.4 "project scalatestJS" clean publishSigned
export SCALANATIVE_VERSION=0.4.0-M2
sbt "project scalacticMacroNative" clean
sbt ++2.11.12 "project scalatestNative" clean publishSigned
Expand All @@ -44,7 +44,7 @@ sbt "project scalacticMacroJS" clean
sbt "project scalacticJS" clean
sbt ++2.11.12 "project scalatestAppJS" clean publishSigned
sbt ++2.12.12 "project scalatestAppJS" clean publishSigned
sbt ++2.13.3 "project scalatestAppJS" clean publishSigned
sbt ++2.13.4 "project scalatestAppJS" clean publishSigned
export SCALANATIVE_VERSION=0.4.0-M2
sbt "project scalacticMacroNative" clean
sbt ++2.11.12 "project scalatestAppNative" clean publishSigned
Expand Down

0 comments on commit fae1dc9

Please sign in to comment.