Skip to content

Commit

Permalink
Add versionLine marker to pom.xml (#19986)
Browse files Browse the repository at this point in the history
Closes #19691 

When it is backported to 3.3.x, the string will be changed to "LTS". We
handle version number in a similar manner.
  • Loading branch information
Kordyjan authored Mar 25, 2024
2 parents a6c40b1 + e2d9ee5 commit 18b146b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ object Build {

val baseVersion = "3.4.2-RC1"

// LTS or Next
val versionLine = "Next"

// Versions used by the vscode extension to create a new project
// This should be the latest published releases.
// TODO: Have the vscode extension fetch these numbers from the Internet
Expand Down Expand Up @@ -2006,6 +2009,10 @@ object Build {
"scm:git:[email protected]:scala/scala3.git"
)
),
pomExtra :=
<properties>
<scala.versionLine>{versionLine}</scala.versionLine>
</properties>,
developers := List(
Developer(
id = "odersky",
Expand Down

0 comments on commit 18b146b

Please sign in to comment.