Repository: scala-steward-org/scala-steward (scala)

Issue:
Prevent updates from RC to NIGHTLY version
See https://github.com/stryker-mutator/stryker4s/pull/612. I think this can be achieved by adding `NIGHTLY` to this [match](https://github.com/scala-steward-org/scala-steward/blob/41eb40b2fbc11ddd3e6e1548e038ae919defa259/modules/core/src/main/scala/org/scalasteward/core/data/Version.scala#L128-L135).

Pull request description:
Closes #1683.

Patch:
diff --git a/modules/core/src/main/scala/org/scalasteward/core/data/Version.scala b/modules/core/src/main/scala/org/scalasteward/core/data/Version.scala
index 019bde681e..d39012ed07 100644
--- a/modules/core/src/main/scala/org/scalasteward/core/data/Version.scala
+++ b/modules/core/src/main/scala/org/scalasteward/core/data/Version.scala
@@ -126,12 +126,12 @@ object Version {
       def isPreReleaseIdent: Boolean = order < 0
       def order: Int =
         value.toUpperCase match {
-          case "SNAP" | "SNAPSHOT"      => -5
-          case "ALPHA" | "PREVIEW"      => -4
-          case "BETA" | "B"             => -3
-          case "M" | "MILESTONE" | "AM" => -2
-          case "RC"                     => -1
-          case _                        => 0
+          case "SNAP" | "SNAPSHOT" | "NIGHTLY" => -5
+          case "ALPHA" | "PREVIEW"             => -4
+          case "BETA" | "B"                    => -3
+          case "M" | "MILESTONE" | "AM"        => -2
+          case "RC"                            => -1
+          case _                               => 0
         }
     }
     final case class Separator(c: Char, startIndex: Int) extends Component


Test patch:
diff --git a/modules/core/src/test/scala/org/scalasteward/core/data/VersionTest.scala b/modules/core/src/test/scala/org/scalasteward/core/data/VersionTest.scala
index 4a7a19e6c9..9c955c3c96 100644
--- a/modules/core/src/test/scala/org/scalasteward/core/data/VersionTest.scala
+++ b/modules/core/src/test/scala/org/scalasteward/core/data/VersionTest.scala
@@ -202,7 +202,8 @@ class VersionTest
       ("0.21.0-RC5", List("0.21.6", "0.21.6+43-2c1c1172-SNAPSHOT"), Some("0.21.6")),
       ("0.21.0-RC5", List("0.21.5", "0.21.6-RC1"), Some("0.21.6-RC1")),
       ("2.1.4.0-RC17", List("2.1.4.0-RC17+1-307f2f6c-SNAPSHOT"), None),
-      ("v2-rev374-1.23.0", List("v2-rev20190917-1.30.3"), Some("v2-rev20190917-1.30.3"))
+      ("v2-rev374-1.23.0", List("v2-rev20190917-1.30.3"), Some("v2-rev20190917-1.30.3")),
+      ("0.27.0-RC1", List("0.27.0-bin-20200826-2e58a66-NIGHTLY"), None)
     )
 
     val rnd = new Random()