You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ol...@apache.org on 2012/12/15 14:46:17 UTC
svn commit: r1084 - /dev/incubator/helix/release-script-svn.sh
Author: olamy
Date: Sat Dec 15 13:46:15 2012
New Revision: 1084
Log:
add release-script to populate distrib
Added:
dev/incubator/helix/release-script-svn.sh (with props)
Added: dev/incubator/helix/release-script-svn.sh
==============================================================================
--- dev/incubator/helix/release-script-svn.sh (added)
+++ dev/incubator/helix/release-script-svn.sh Sat Dec 15 13:46:15 2012
@@ -0,0 +1,42 @@
+#!/usr/local/bin/bash
+## $Id$ ##
+#$1 version
+#$2 staging repo path on archiva-repository.apache.org (usually https://archiva-repository.apache.org/archiva/repository/archiva-releases-stage/)
+#before using this script you must svn co https://dist.apache.org/repos/dist/dev/archiva/
+set -e
+if test $# -ne 2
+then
+ echo 'usage release-script.sh version stagingRepoUrl'
+ exit
+fi
+export version=$1
+export repo=$2
+
+mkdir $version
+cd $version
+
+mkdir binaries
+cd binaries
+for i in pkg.tar pkg.tar.asc pkg.tar.md5 pkg.tar.sha1
+do
+ wget -O helix-core-$version-$i $repo/org/apache/helix/helix-core/0.6-incubating/helix-core-$version-$i
+ if [ ! -s helix-core-$version-$i ]; then
+ echo Unable to find helix-core-$version-$i
+ exit 1
+ fi
+ wget -O helix-admin-webapp-$version-$i $repo/org/apache/helix/helix-admin-webapp/0.6-incubating/helix-admin-webapp-$version-$i
+
+done
+
+cd ..
+mkdir src
+cd src
+for i in zip zip.asc zip.md5 zip.sha1
+do
+ wget -O helix-$version-src.$i $repo/org/apache/helix/helix/$version/helix-$version-source-release.$i
+ if [ ! -s helix-$version-src.$i ]; then
+ echo Unable to find helix-$version-src.$i
+ exit 1
+ fi
+done
+
Propchange: dev/incubator/helix/release-script-svn.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: dev/incubator/helix/release-script-svn.sh
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision