usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [2/3] usergrid git commit: Preparing for release.
Date Wed, 17 Feb 2016 23:12:06 GMT
Preparing for release.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/74f8fcfb
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/74f8fcfb
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/74f8fcfb

Branch: refs/heads/release
Commit: 74f8fcfb5532aa66e71ac27946f1c04f33e60cfa
Parents: b3b84d7
Author: Dave Johnson <snoopdave@apache.org>
Authored: Wed Feb 17 18:06:55 2016 -0500
Committer: Dave Johnson <snoopdave@apache.org>
Committed: Wed Feb 17 18:06:55 2016 -0500

----------------------------------------------------------------------
 release/release.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/74f8fcfb/release/release.sh
----------------------------------------------------------------------
diff --git a/release/release.sh b/release/release.sh
index 00cfd11..9ecf4d7 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -101,8 +101,8 @@ base_dir=$(git rev-parse --show-toplevel)
 if [[ -n "`git status --porcelain`" ]]; then
   echo "ERROR: Please run from a clean $RELEASE_BRANCH"
   exit 1
-elif [[ "`git rev-parse --abbrev-ref HEAD`" == "$RELEASE_BRANCH" ]]; then
-  echo "ERROR: This script must be run from the released branch."
+elif [[ "`git rev-parse --abbrev-ref HEAD`" == $RELEASE_BRANCH ]]; then
+  echo "ERROR: This script must be run from the ${RELEASE_BRANCH} branch."
   exit 1
 fi
 


Mime
View raw message