Skip to content

Commit 18b146b

Browse files
authored
Add versionLine marker to pom.xml (#19986)
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.
2 parents a6c40b1 + e2d9ee5 commit 18b146b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

project/Build.scala

+7
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ object Build {
8787

8888
val baseVersion = "3.4.2-RC1"
8989

90+
// LTS or Next
91+
val versionLine = "Next"
92+
9093
// Versions used by the vscode extension to create a new project
9194
// This should be the latest published releases.
9295
// TODO: Have the vscode extension fetch these numbers from the Internet
@@ -2006,6 +2009,10 @@ object Build {
20062009
"scm:git:[email protected]:scala/scala3.git"
20072010
)
20082011
),
2012+
pomExtra :=
2013+
<properties>
2014+
<scala.versionLine>{versionLine}</scala.versionLine>
2015+
</properties>,
20092016
developers := List(
20102017
Developer(
20112018
id = "odersky",

0 commit comments

Comments
 (0)