@@ -20,7 +20,7 @@ We're still using Jira for issue reporting, so please [report any issues](https:
20
20
# Get in touch!
21
21
If you need some help with your PR at any time, please feel free to @-mention anyone from the list below, and we will do our best to help you out:
22
22
23
- | username | talk to me about... |
23
+ | | username | talk to me about... |
24
24
--------------------------------------------------------------------------------------------------|----------------------------------------------------------------|---------------------------------------------------|
25
25
<img src =" https://avatars.githubusercontent.com/adriaanm " height =" 50px " title =" Adriaan Moors " /> | [ ` @adriaanm ` ] ( https://github.com/adriaanm ) | type checker, pattern matcher, infrastructure, language spec |
26
26
<img src =" https://avatars.githubusercontent.com/SethTisue " height =" 50px " title =" Seth Tisue " /> | [ ` @SethTisue ` ] ( https://github.com/SethTisue ) | build, developer docs, community build, Jenkins, library, the welcome-to-Scala experience |
@@ -104,10 +104,13 @@ Core commands:
104
104
- ` partest ` runs partest tests (accepts options, try ` partest --help ` )
105
105
- ` publishLocal ` publishes a distribution locally (can be used as ` scalaVersion ` in
106
106
other sbt projects)
107
- - Optionally ` set baseVersionSuffix := "abcd123-SNAPSHOT" `
107
+ - Optionally ` set baseVersionSuffix := "-bin- abcd123-SNAPSHOT" `
108
108
where ` abcd123 ` is the git hash of the revision being published. You can also
109
- use something custom like ` "mypatch" ` . This changes the version number from
110
- ` 2.12.0-SNAPSHOT ` to something more stable (` 2.12.0-abcd123-SNAPSHOT ` ).
109
+ use something custom like ` "-bin-mypatch" ` . This changes the version number from
110
+ ` 2.12.2-SNAPSHOT ` to something more stable (` 2.12.2-bin-abcd123-SNAPSHOT ` ).
111
+ - Note that the ` -bin ` string marks the version binary compatible. Using it in
112
+ sbt will cause the ` scalaBinaryVersion ` to be ` 2.12 ` . If the version is not
113
+ binary compatible, we recommend using ` -pre ` , e.g., ` 2.13.0-pre-abcd123-SNAPSHOT ` .
111
114
- Optionally ` set publishArtifact in (Compile, packageDoc) in ThisBuild := false `
112
115
to skip generating / publishing API docs (speeds up the process).
113
116
@@ -199,16 +202,17 @@ CI performs a full bootstrap. The first task, `validate-publish-core`, publishes
199
202
a build of your commit to the temporary repository
200
203
https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots .
201
204
Note that this build is not yet bootstrapped, its bytecode is built using the
202
- current ` starr ` . The version number is ` 2.12.0-abcd123-SNAPSHOT ` where ` abcd123 `
203
- is the commit hash.
205
+ current ` starr ` . The version number is ` 2.12.2-bin-abcd123-SNAPSHOT ` where ` abcd123 `
206
+ is the commit hash. For binary incompatible builds, the version number is
207
+ ` 2.13.0-pre-abcd123-SNAPSHOT ` .
204
208
205
209
You can use Scala builds in the validation repository locally by adding a resolver
206
210
and specifying the corresponding ` scalaVersion ` :
207
211
208
212
```
209
213
$ sbt
210
214
> set resolvers += "pr" at "https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/"
211
- > set scalaVersion := "2.12.0 -abcd123-SNAPSHOT"
215
+ > set scalaVersion := "2.12.2-bin -abcd123-SNAPSHOT"
212
216
> console
213
217
```
214
218
@@ -228,10 +232,8 @@ The CI also publishes nightly API docs:
228
232
- [ 2.11.x] ( http://www.scala-lang.org/files/archive/nightly/2.11.x/api/?C=M;O=D )
229
233
- [ symlink to the latest] ( http://www.scala-lang.org/files/archive/nightly/2.11.x/api/2.11.x/ )
230
234
231
- Note that we currently don't publish nightly (or SNAPSHOT) builds in maven or ivy
232
- format to any repository. You can track progress on this front at
233
- [ scala-jenkins-infra #133 ] ( https://github.com/scala/scala-jenkins-infra/issues/133 )
234
- and [ scala-dev #68 ] ( https://github.com/scala/scala-dev/issues/68 ) .
235
+ Using a nightly build in sbt is explained in
236
+ [ this answer on Stack Overflow] ( http://stackoverflow.com/questions/40622878 )
235
237
236
238
## Scala CI Internals
237
239
0 commit comments