Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Commit ca1d9e5

Browse files
committed
Merge pull request #127 from lrytz/publish-fixes
fix typo of last commit
2 parents fa91e02 + 989ee60 commit ca1d9e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

publish-nightly

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ EOM
3030
}
3131

3232
# publish scaladoc nightlies
33-
rsync -az build/scaladoc/ "$nightly_rsync_dest/$scaladocDir"
33+
[[ -d build/scaladoc/ ]] && {
34+
rsync -az build/scaladoc/ "$nightly_rsync_dest/$scaladocDir"
35+
}
3436

3537
# push to the maven repository. in 2.11.x and above, we've already published during the main job
36-
[[ -e dists/maven/latest/build.xml ]]; then
38+
[[ -e dists/maven/latest/build.xml ]] && {
3739
cd dists/maven/latest
3840
ant deploy -Dsettings.file=$maven_settings_file
3941
fi

0 commit comments

Comments
 (0)