summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2012-01-10 11:36:32 +0100
committerLukas Rytz <lukas.rytz@epfl.ch>2012-01-10 11:37:33 +0100
commit3bdd7aa24567be7c21d33759d7e42a0c43e6bbcd (patch)
tree4a75a7896596ac04aefe718ec52bbe305c77f113 /tools
parent446273104715cbef37579feefea11c1afdd4dc36 (diff)
downloadscala-3bdd7aa24567be7c21d33759d7e42a0c43e6bbcd.tar.gz
scala-3bdd7aa24567be7c21d33759d7e42a0c43e6bbcd.tar.bz2
scala-3bdd7aa24567be7c21d33759d7e42a0c43e6bbcd.zip
Remove maven deply from epfl-publish script.
This is done by the separate scala-nightly-maven-deploy jenkins job, doing it here fails depending on the build machine (/home/linuxsoft/... is not available everywhere).
Diffstat (limited to 'tools')
-rwxr-xr-xtools/epfl-publish18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/epfl-publish b/tools/epfl-publish
index e9cd97b3d2..4982f930bb 100755
--- a/tools/epfl-publish
+++ b/tools/epfl-publish
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
#
# publishes nightly build if $publish_to is set in environment.
-# alternate maven settings.xml file given in $maven_settings.
#
[[ $# -eq 1 ]] || {
@@ -20,21 +19,6 @@ version="$1"
exit 1
}
-# should not be hardcoded
-# adds -Dsettings.file= if fixed path is present
-mavenSettingsOption () {
- hardcoded_path="/home/linuxsoft/apps/hudson-maven-settings/settings.xml"
-
- # environment variable
- if [[ -n $maven_settings ]]; then
- echo -Dsettings.file="$maven_settings"
- elif [[ -f $hardcoded_path ]]; then
- echo -Dsettings.file="$hardcoded_path"
- fi
-}
-
-mavenSettings=${maven_settings:-findMavenSettings}
-
if [[ -z $publish_to ]]; then
echo "Nothing to publish."
else
@@ -45,6 +29,4 @@ else
[[ $version == "2.8.x" ]] || rsync -az build/scaladoc/ "$publish_to/docs"
# sbaz
[[ -d dists/sbaz ]] && rsync -az dists/sbaz/ "$publish_to/sbaz"
- # Deploy the maven artifacts on scala-tools.org
- ( cd dists/maven/latest && ant deploy.snapshot $(mavenSettingsOption) )
fi