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+
16val crossScalaVersions212 = (14 to 19 ).map(" 2.12." + _)
27val crossScalaVersions213 = (8 to 13 ).map(" 2.13." + _)
38val crossScalaVersions3 =
@@ -70,7 +75,7 @@ val cliAssemblyJarName = settingKey[String]("Name of created assembly jar")
7075inThisBuild(
7176 Def .settings(
7277 organization := " org.scala-native" ,
73- scalaNativeVersion := " 0.5.0-SNAPSHOT " ,
78+ scalaNativeVersion := ScalaNativeVersion ,
7479 version := scalaNativeVersion.value,
7580 scalaVersion := scala3PublishVersion,
7681 crossScalaVersions := publishScalaVersions,
@@ -89,6 +94,8 @@ inThisBuild(
8994 Some (
" scm:git:[email protected] :scala-native/scala-native-cli.git" )
9095 )
9196 ),
97+ // Used during the releases
98+ resolvers ++= StagingRepoIds .flatMap(id => Resolver .sonatypeOssRepos(s " orgscala-native- $id" )),
9299 resolvers ++= Resolver .sonatypeOssRepos(" snapshots" ),
93100 resolvers += Resolver .mavenCentral,
94101 resolvers += Resolver .defaultLocal
0 commit comments