summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/epfl-publish4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/epfl-publish b/tools/epfl-publish
index 4982f930bb..de5e17b13f 100755
--- a/tools/epfl-publish
+++ b/tools/epfl-publish
@@ -25,8 +25,8 @@ else
echo "Publishing nightly build to $publish_to"
# Archive Scala nightly distribution
rsync -az dists/archives/ "$publish_to/distributions"
- # don't publish docs in 2.8.x
- [[ $version == "2.8.x" ]] || rsync -az build/scaladoc/ "$publish_to/docs"
+ # only publish scaladoc nightly for trunk
+ [[ $version == "master" ]] && rsync -az build/scaladoc/ "$publish_to/docs"
# sbaz
[[ -d dists/sbaz ]] && rsync -az dists/sbaz/ "$publish_to/sbaz"
fi