You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"Expanding scala-library API docs for $version to api/$version (with subdirectories for scala-compiler and scala-reflect)."
26
+
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
27
+
28
+
echo"Expanding the Scaladoc for other bundled modules"
29
+
# treat scala-actors separately because it's not cross-versioned
# invoked from scala-release-2.11.x-[unix|windows]
5
+
6
+
# uses the following env vars:
7
+
# - WORKSPACE, JAVA_OPTS (jenkins standard)
8
+
# - version checked for consistency against HEAD's tag
9
+
# - sbtLauncher is a global jenkins configuration variable
10
+
# - sbtDistTarget the target (beyond clean and update) to run
11
+
# - sbtDistVersionOverride may be -Dproject.version=.... to override the version of the dist to build (only for testing, you should use tags for real releases!)
12
+
13
+
# requires git (>= 1.8), java, bash
14
+
15
+
repositoriesFile="$WORKSPACE/conf/repositories"
16
+
17
+
tags="$(git tag --points-at HEAD)"
18
+
19
+
# version is set by the scala-release-2.11.x-dist build flow, make sure it's consistent with the tag
20
+
# this is also a backstop for https://github.com/sbt/sbt-git/issues/35
21
+
# ignore when there is no version (job is running outside of the flow)
22
+
[[ -z $sbtDistVersionOverride ]] && [[ -n $version ]] && if [ "$tags" != "v$version" ]; then
0 commit comments