OOZIE-1753 Update create-release-artifact script for git (rkanter)
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 @@
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 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`
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)