Skip to content

Commit 304c920

Browse files
committed
consistently use nightly 'version' not 'build'
1 parent 490164e commit 304c920

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

_data/overviews.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
icon: puzzle-piece
163163
url: "core/binary-compatibility-for-library-authors.html"
164164
- title: Nightly Versions of Scala
165-
description: "We regularly publish 'nightlies' of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions."
165+
description: "We regularly publish 'nightlies' of both Scala 3 and Scala 2 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions."
166166
url: "core/nightlies.html"
167167

168168
- category: "Tools"

_overviews/core/nightlies.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ title: Nightly Versions of Scala
44
permalink: /overviews/core/:title.html
55
---
66

7-
We regularly publish nightly builds of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases.
7+
We regularly publish nightly versions of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases.
88

9-
We informally call them "nightly" builds, but technically it's a misnomer. A so-called “nightly” is built for every merged PR.
9+
We informally call them "nightly" versions, but technically it's a misnomer. A so-called “nightly” is built for every merged PR.
1010

1111
Here's how to find and use these versions.
1212

1313
## Scala 3
1414

15-
Scala 3 nightly builds are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version.
15+
Scala 3 nightly versions are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version.
1616

1717
One quick way to get that version number is to visit https://dotty.epfl.ch and look in the upper left corner.
1818

@@ -35,7 +35,7 @@ See this [scala-cli doc page](https://scala-cli.virtuslab.org/docs/commands/comp
3535

3636
## Scala 2.13 or 2.12
3737

38-
Scala 3 nightly builds are published to a special resolver. You'll need to add that resolver to your build configuration in order to use these versions.
38+
Scala 3 nightly versions are published to a special resolver. Unless you are using scala-cli, you'll need to add that resolver to your build configuration in order to use these versions.
3939

4040
### quick version (sbt)
4141

@@ -65,7 +65,7 @@ The default command is `repl`, but all the other scala-cli subcommands such as `
6565

6666
We no longer publish `-SNAPSHOT` versions of Scala 2.
6767

68-
But the team does publish nightly builds, each with its own fixed version number. The version number of a nightly looks like e.g. `2.13.1-bin-abcd123`. (`-bin-` signals binary compatibility to sbt; all 2.13.x releases since 2.13.0 are binary compatible with each other.)
68+
But the team does publish nightly versions, each with its own fixed version number. The version number of a nightly looks like e.g. `2.13.1-bin-abcd123`. (`-bin-` signals binary compatibility to sbt; all 2.13.x releases since 2.13.0 are binary compatible with each other.)
6969

7070
To tell sbt to use one of these nightlies, you need to do three things.
7171

@@ -78,7 +78,7 @@ Second, specify the Scala version:
7878

7979
scalaVersion := "2.13.1-bin-abcd123"
8080

81-
But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly build was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section.
81+
But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly version was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section.
8282

8383
As soon as 2.13.1 is released, the version number in the nightly will bump to 2.13.2, and so on.
8484

0 commit comments

Comments
 (0)