Skip to content

Commit 4843efb

Browse files
committed
Set version to 0.5.0-RC1
1 parent c60aae8 commit 4843efb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build.sbt

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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+
16
val crossScalaVersions212 = (14 to 19).map("2.12." + _)
27
val crossScalaVersions213 = (8 to 13).map("2.13." + _)
38
val crossScalaVersions3 =
@@ -70,7 +75,7 @@ val cliAssemblyJarName = settingKey[String]("Name of created assembly jar")
7075
inThisBuild(
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:git@github.com: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

Comments
 (0)