You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directmemory.apache.org by ol...@apache.org on 2013/09/12 00:24:07 UTC

svn commit: r2864 - in /dev/directmemory: 0.2/ release-script-svn.sh

Author: olamy
Date: Wed Sep 11 22:24:05 2013
New Revision: 2864

Log:
use using script for source release

Added:
    dev/directmemory/release-script-svn.sh   (with props)
Removed:
    dev/directmemory/0.2/

Added: dev/directmemory/release-script-svn.sh
==============================================================================
--- dev/directmemory/release-script-svn.sh (added)
+++ dev/directmemory/release-script-svn.sh Wed Sep 11 22:24:05 2013
@@ -0,0 +1,44 @@
+#!/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
+
+for i in zip zip.asc zip.md5 zip.sha1
+do
+  wget -O directmemory-$version-src.$i $repo/org/apache/directmemory/directmemory/$version/directmemory-$version-source-release.$i
+  if [ ! -s directmemmory-$version-src.$i ]; then
+    echo Unable to find directmemory-$version-src.$i
+    exit 1
+  fi
+done
+

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

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