You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2017/09/21 16:37:15 UTC
activemq git commit: NO-JIRA: remove script,
moved into dist dev repo to simplify use,
now under https://dist.apache.org/repos/dist/dev/activemq/activemq
Repository: activemq
Updated Branches:
refs/heads/master c513bd7ba -> 66d9d86fd
NO-JIRA: remove script, moved into dist dev repo to simplify use, now under https://dist.apache.org/repos/dist/dev/activemq/activemq
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/66d9d86f
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/66d9d86f
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/66d9d86f
Branch: refs/heads/master
Commit: 66d9d86fdfb1cf5599d5e1526f651726de7cf939
Parents: c513bd7
Author: Robbie Gemmell <ro...@apache.org>
Authored: Thu Sep 21 17:35:58 2017 +0100
Committer: Robbie Gemmell <ro...@apache.org>
Committed: Thu Sep 21 17:35:58 2017 +0100
----------------------------------------------------------------------
etc/scripts/prepare-release.sh | 97 -------------------------------------
1 file changed, 97 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/66d9d86f/etc/scripts/prepare-release.sh
----------------------------------------------------------------------
diff --git a/etc/scripts/prepare-release.sh b/etc/scripts/prepare-release.sh
deleted file mode 100755
index bd3c3b3..0000000
--- a/etc/scripts/prepare-release.sh
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-# 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.
-
-# Setting the script to fail if anything goes wrong
-set -e
-
-#This is a script to help with the release process
-
-
-error () {
- echo ""
- echo "$@"
- echo ""
- echo "Usage: ./prepare-release.sh repo-url version [target-dir (defaults to version, must not exist)]"
- echo ""
- echo "example:"
- echo "./prepare-release.sh https://repo1.maven.org/maven2 5.15.0"
- echo ""
- exit 64
-}
-
-doDownload () {
-
- repoPath="$1"
- theFile="$2"
- completeURL="$repoPath/$theFile"
-
- echo
- echo $theFile
-
- echo "Downloading $completeURL"
- curl $completeURL > $theFile
-
- echo "Downloading $theFile.asc"
- curl $completeURL.asc > $theFile.asc
-
- echo "Downloading $theFile.md5"
- curl $completeURL.md5 > $theFile.md5
-
- echo "Verifying signature $theFile.asc"
- gpg --verify $theFile.asc
-
- echo "Augmenting $theFile.md5 with filename details"
- echo " $theFile" >> $theFile.md5
-
- echo "Generating SHA512 checksum file $theFile.sha512"
- sha512sum $theFile > $theFile.sha512
-}
-
-if [ "$#" -lt 2 ]; then
- error "Cannot match arguments"
-fi
-
-release=$2
-target=${3-$2}
-echo "Target Directory: $target"
-
-if [ -d $target ]; then
- error "Directory $target already exists, stopping"
-else
- echo "Directory $target does not exist, creating"
- mkdir $target
- cd $target
-fi
-
-binRepoURL="$1/org/apache/activemq/apache-activemq/$2"
-srcRepoURL="$1/org/apache/activemq/activemq-parent/$2"
-
-doDownload $srcRepoURL activemq-parent-$release-source-release.zip
-doDownload $binRepoURL apache-activemq-$release-bin.zip
-doDownload $binRepoURL apache-activemq-$release-bin.tar.gz
-
-echo ""
-echo "--- Download Complete for Release $2 Artifacts are in $target---"
-echo ""
-echo "Validating all MD5 checksum files"
-md5sum -c *.md5
-
-echo "Validating all SHA512 checksum files"
-sha512sum -c *.sha512
-
-