1
+
2
+ val ScalaNativeVersion = " 0.5.0-RC1"
3
+ // Update during release procedure to provide access to staged, but not published artifacts
4
+ val StagingRepoIds = (1117 to 1119 )
5
+
1
6
val crossScalaVersions212 = (14 to 19 ).map(" 2.12." + _)
2
7
val crossScalaVersions213 = (8 to 13 ).map(" 2.13." + _)
3
8
val crossScalaVersions3 =
@@ -70,7 +75,7 @@ val cliAssemblyJarName = settingKey[String]("Name of created assembly jar")
70
75
inThisBuild(
71
76
Def .settings(
72
77
organization := " org.scala-native" ,
73
- scalaNativeVersion := " 0.5.0-SNAPSHOT " ,
78
+ scalaNativeVersion := ScalaNativeVersion ,
74
79
version := scalaNativeVersion.value,
75
80
scalaVersion := scala3PublishVersion,
76
81
crossScalaVersions := publishScalaVersions,
@@ -89,6 +94,8 @@ inThisBuild(
89
94
Some (" scm:git:git@github.com:scala-native/scala-native-cli.git" )
90
95
)
91
96
),
97
+ // Used during the releases
98
+ resolvers ++= StagingRepoIds .flatMap(id => Resolver .sonatypeOssRepos(s " orgscala-native- $id" )),
92
99
resolvers ++= Resolver .sonatypeOssRepos(" snapshots" ),
93
100
resolvers += Resolver .mavenCentral,
94
101
resolvers += Resolver .defaultLocal
0 commit comments