commit 532b911bdd5a2cc0641a51ab358ac6f455b857f3 Author: Mauro Talevi <mauro.tal...@aquilonia.org> AuthorDate: Thu Jun 28 16:37:27 2012 +0200 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Thu Jun 28 16:37:27 2012 +0200
Removed now redundant scripts diff --git a/site-frontend/upload-download.sh b/site-frontend/upload-download.sh deleted file mode 100755 index f0ab03b..0000000 --- a/site-frontend/upload-download.sh +++ /dev/null @@ -1,24 +0,0 @@ - -VERSION=$1 -QUALIFIER=$2 - -if [ "$VERSION" == "" ] || [ "$QUALIFIER" == "" ]; then - echo "usage: upload-download.sh <version> <qualifier>" - exit; -fi - -DOWNLOADS="/var/www/jbehave.org/reference/downloads/site" - -NEXUS="https://nexus.codehaus.org/content/repositories/releases" - -for TYPE in "bin" "src" -do -INDEX="index-$TYPE-$VERSION.html" -VERSIONED="$DOWNLOADS/$TYPE/$VERSION" -URL="$NEXUS/org/jbehave/site/jbehave-site/$VERSION/jbehave-site-$VERSION-$TYPE.zip" -DOWNLOAD="<html><head><meta http-equiv=\"REFRESH\" content=\"0;url=$URL\"></head></html>" -echo $DOWNLOAD > target/$INDEX -scp target/$INDEX jbehave.org: -ssh jbehave.org "mkdir -p $VERSIONED; mv $INDEX $VERSIONED/index.html; cd $DOWNLOADS/$TYPE; rm $QUALIFIER; ln -s $VERSION $QUALIFIER" -done - diff --git a/site-frontend/upload-reference.sh b/site-frontend/upload-reference.sh deleted file mode 100755 index fa6b96a..0000000 --- a/site-frontend/upload-reference.sh +++ /dev/null @@ -1,16 +0,0 @@ - -VERSION=$1 -QUALIFIER=$2 - -if [ "$VERSION" == "" ] || [ "$QUALIFIER" == "" ]; then - echo "usage: upload-reference.sh <version> <qualifier>" - exit; -fi - -ARTIFACT="jbehave-site-$VERSION" -REFERENCE="/var/www/jbehave.org/reference/site" - -VERSIONED="$REFERENCE/$VERSION" - -scp target/$ARTIFACT-bin.zip jbehave.org: -ssh jbehave.org "rm -r $ARTIFACT; unzip -q $ARTIFACT-bin.zip; rm -r $VERSIONED; mv $ARTIFACT/docs/ $VERSIONED; cd $REFERENCE; rm $QUALIFIER; ln -s $VERSION $QUALIFIER"