You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2018/05/02 13:46:26 UTC
qpid-proton git commit: NO-JIRA: remove old release.sh,
it is no longer used
Repository: qpid-proton
Updated Branches:
refs/heads/master 3e49eded8 -> 1e1fd0201
NO-JIRA: remove old release.sh, it is no longer used
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1e1fd020
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1e1fd020
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1e1fd020
Branch: refs/heads/master
Commit: 1e1fd0201dd86bd9bdf8aa2cfe17494508bad607
Parents: 3e49ede
Author: Robbie Gemmell <ro...@apache.org>
Authored: Wed May 2 14:46:01 2018 +0100
Committer: Robbie Gemmell <ro...@apache.org>
Committed: Wed May 2 14:46:01 2018 +0100
----------------------------------------------------------------------
scripts/release.sh | 66 -------------------------------------------------
1 file changed, 66 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1e1fd020/scripts/release.sh
----------------------------------------------------------------------
diff --git a/scripts/release.sh b/scripts/release.sh
deleted file mode 100755
index 0c57d30..0000000
--- a/scripts/release.sh
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/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.
-#
-
-# release.sh - Creates a release.
-
-ME=$(basename ${0})
-CURRDIR=$PWD
-SRC=$(dirname $(dirname $(readlink -f $0)))
-
-usage()
-{
- echo "Usage: ${ME} VERSION TAG"
- exit 1
-}
-
-if [ $# == 2 ]; then
- VERSION=$1
- TAG=$2
-else
- usage
-fi
-
-die()
-{
- printf "ERROR: %s\n" "$*"
- exit 1
-}
-
-##
-## Create the tag
-##
-(
- cd ${SRC}
- if [ -n "$(git status -uno --porcelain)" ]; then
- die must release from a clean checkout
- fi
- BRANCH=$(git symbolic-ref -q --short HEAD)
- if [ -n "${BRANCH}" ]; then
- REMOTE=$(git config branch.${BRANCH}.remote)
- else
- REMOTE="origin"
- fi
- git checkout --detach && \
- bin/version.sh $VERSION && \
- git commit -a -m "Release $VERSION" && \
- git tag -m "Release $VERSION" $TAG && \
- echo "Run 'git push ${REMOTE} ${TAG}' to push the tag upstream."
-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org