You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sirona.apache.org by ol...@apache.org on 2013/11/26 03:44:40 UTC

svn commit: r3680 - /dev/incubator/sirona/release-script-svn.sh

Author: olamy
Date: Tue Nov 26 02:44:38 2013
New Revision: 3680

Log:
add release script

Added:
    dev/incubator/sirona/release-script-svn.sh   (with props)

Added: dev/incubator/sirona/release-script-svn.sh
==============================================================================
--- dev/incubator/sirona/release-script-svn.sh (added)
+++ dev/incubator/sirona/release-script-svn.sh Tue Nov 26 02:44:38 2013
@@ -0,0 +1,55 @@
+#!/usr/local/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+## $Id$ ##
+#$1 version
+#$2 staging repo path on repository.apache.org
+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 war war.asc war.md5 war.sha1
+do
+  wget -O sirona-reporting-$version.$i $repo/org/apache/sirona/sirona-reporting/$version/sirona-reporting-$version.$i
+  wget -O sirona-collector-$version.$i $repo/org/apache/sirona/sirona-collector/$version/sirona-collector-$version.$i
+done
+
+cd ..
+mkdir src
+cd src
+for i in zip zip.asc zip.md5 zip.sha1
+do
+  wget -O sirona-$version-src.$i $repo/org/apache/sirona/sirona/0.1-incubating/sirona-$version-source-release.$i
+  if [ ! -s sirona-$version-src.$i ]; then
+    echo Unable to find sirona-$version-src.$i
+    exit 1
+  fi
+done
+

Propchange: dev/incubator/sirona/release-script-svn.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: dev/incubator/sirona/release-script-svn.sh
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision