Skip to content

Commit b2fccc9

Browse files
committed
updates for 2.12.x branch
1 parent 84b3d8e commit b2fccc9

File tree

5 files changed

+9
-20
lines changed

5 files changed

+9
-20
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ it'll create and upload the other packages in the above list. (Use `s3Upload::ma
1818
The version of Scala to package is derived from the most recent git tag,
1919
or you can specify it using `-Dproject.version`.
2020

21-
This packager only works for Scala 2.11 releases (starting with M8),
21+
This packager only works for Scala 2.11 releases (starting with M8) or newer,
2222
as earlier ones did not publish the `scala-dist` artifact to maven.
2323

2424
Due to limited resources, the native packages are quite rudimental -- we welcome new maintainers!
@@ -46,7 +46,4 @@ The specification also used to be in this repo -- it is now a part of the main r
4646
Please read the [Scala Pull Request Policy](https://github.com/scala/scala/wiki/Pull-Request-Policy)
4747
and sign the [CLA](http://typesafe.com/contribute/cla/scala).
4848

49-
The branching structure mimics that of [scala/scala](https://github.com/scala/scala):
50-
master is the upcoming 2.11.0 release,
51-
and the 2.10.x branch is your target for 2.10.x features.
52-
49+
The branching structure mimics that of [scala/scala](https://github.com/scala/scala).

conf/repositories

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[repositories]
22
plugins: http://dl.bintray.com/sbt/sbt-plugin-releases/, [organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
3-
private-repo: http://private-repo.typesafe.com/typesafe/scala-release-temp/
3+
private-repo: https://scala-ci.typesafe.com/artifactory/scala-release-temp/
44
typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
55
sbt-plugin-releases: http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
66
maven-central

project/ScalaDist.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ import com.typesafe.sbt.packager.Keys._
66

77
import com.typesafe.sbt.S3Plugin.S3.upload
88

9-
// TODO:
10-
// smoke testing: make sure repl works, jline loads
11-
// compile a file that exercises each module (xml, parsers, akka-actor,...)
12-
// run the whole test suite against the scala instance we're shipping?
13-
149
// can't call it Universal -- that's taken by the packager
1510
object ScalaDist {
1611
def createMappingsWith(deps: Seq[(String, ModuleID, Artifact, File)],

scripts/jobs/release/website/archives

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare -a sshCharaArgs="$sshCharaArgs"
55
url="http://downloads.typesafe.com/scala/$version"
66

77
if [[ "$version" =~ .*-nightly ]]
8-
then archivesDir="~linuxsoft/archives/scala/nightly/2.11.x"
8+
then archivesDir="~linuxsoft/archives/scala/nightly/2.12.x"
99
else archivesDir="~linuxsoft/archives/scala"
1010
fi
1111

@@ -26,10 +26,7 @@ echo "Expanding scala-library API docs for $version to api/$version (with subdir
2626
ssh "${sshCharaArgs[@]}" "cd $archivesDir && mkdir -p api/$version && tar -xvz --strip-component 2 -f scala-docs-$version.tgz -C api/$version && mv api/$version/scala-library/* api/$version/" # tar on jenkins does not support the -s option
2727

2828
echo "Expanding the Scaladoc for other bundled modules"
29-
# treat scala-actors separately because it's not cross-versioned
30-
ssh "${sshCharaArgs[@]}" "(set -x; cd $archivesDir && mkdir -p api/$version/scala-actors && unzip \$(find api/$version/jars -name 'scala-actors-2.11*javadoc.jar' -o -name scala-actors-${version}-javadoc.jar) -d api/$version/scala-actors;)"
31-
32-
modules="scala-actors-migration scala-continuations-library scala-parser-combinators scala-swing scala-xml"
29+
modules="scala-parser-combinators scala-swing scala-xml"
3330
for m in $modules; do
3431
ssh "${sshCharaArgs[@]}" "(set -x; cd $archivesDir && mkdir -p api/$version/$m && unzip \$(find api/$version/jars -name ${m}_'*javadoc.jar' -o -name ${m}-${version}-javadoc.jar) -d api/$version/$m;)"
3532
done

scripts/jobs/release/website/update-api

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
declare -a sshCharaArgs="$sshCharaArgs"
44

55
if [[ "$version" =~ .*-nightly ]]
6-
then archivesDir="~linuxsoft/archives/scala/nightly/2.11.x"
6+
then archivesDir="~linuxsoft/archives/scala/nightly/2.12.x"
77
else archivesDir="~linuxsoft/archives/scala"
88
fi
99

10-
echo "Symlinking $archivesDir/api/$version to $archivesDir/api/2.11.x."
10+
echo "Symlinking $archivesDir/api/$version to $archivesDir/api/2.12.x."
1111

12-
ssh "${sshCharaArgs[@]}" "cd $archivesDir/api/ ; [[ -d $version ]] && ln -sfn $version 2.11.x"
12+
ssh "${sshCharaArgs[@]}" "cd $archivesDir/api/ ; [[ -d $version ]] && ln -sfn $version 2.12.x"
1313

1414
# needs to run once on new major release:
15-
# ssh "${sshCharaArgs[@]}" "cd $archivesDir/api/ ; [[ -d $version ]] && ln -sfn 2.11.x current"
15+
# ssh "${sshCharaArgs[@]}" "cd $archivesDir/api/ ; [[ -d $version ]] && ln -sfn 2.12.x current"
1616

0 commit comments

Comments
 (0)