You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by rk...@apache.org on 2014/03/21 22:13:45 UTC
git commit: OOZIE-1753 Update create-release-artifact script for git
(rkanter)
Repository: oozie
Updated Branches:
refs/heads/branch-4.0 f3ab5da94 -> 40c1f1d4a
OOZIE-1753 Update create-release-artifact script for git (rkanter)
Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/40c1f1d4
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/40c1f1d4
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/40c1f1d4
Branch: refs/heads/branch-4.0
Commit: 40c1f1d4affeebed60d5aa4de64231846e181fc4
Parents: f3ab5da
Author: Robert Kanter <rk...@cloudera.com>
Authored: Fri Mar 21 14:09:52 2014 -0700
Committer: Robert Kanter <rk...@cloudera.com>
Committed: Fri Mar 21 14:09:52 2014 -0700
----------------------------------------------------------------------
bin/create-release-artifact | 8 +++++---
release-log.txt | 1 +
2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/oozie/blob/40c1f1d4/bin/create-release-artifact
----------------------------------------------------------------------
diff --git a/bin/create-release-artifact b/bin/create-release-artifact
index a09a257..1f1bcd2 100755
--- a/bin/create-release-artifact
+++ b/bin/create-release-artifact
@@ -27,7 +27,9 @@ run() {
fi
}
-branchUrl=`svn info | grep URL | awk '{print $2}'`
+branchUrl=`git ls-remote --get-url`
+
+branchName=`git rev-parse --abbrev-ref HEAD`
tempDir="/tmp/oozie.$$"
@@ -35,11 +37,11 @@ run mkdir $tempDir
run cd $tempDir
-run svn co $branchUrl oozie-src
+run git clone $branchUrl -b $branchName oozie-src
run cd oozie-src
-find . -name .svn | xargs rm -rf
+rm -rf .git
releaseVersion=`mvn help:evaluate -Dexpression=project.version | grep -v INFO | grep -v WARNING`
http://git-wip-us.apache.org/repos/asf/oozie/blob/40c1f1d4/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 8d0f26d..28121c3 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
-- Oozie 4.0.1 release
+OOZIE-1753 Update create-release-artifact script for git (rkanter)
OOZIE-1632 Coordinators that undergo change endtime but are doneMaterialization, not getting picked for StatusTransit (mona)
OOZIE-1736 Switch to Hadoop 2.3.0 for the hadoop-2 profile (rkanter)
OOZIE-1670 Workflow kill command doesn't kill child job for map-reduce action (puru via rohini)