hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject hadoop git commit: HADOOP-11307. create-release script should run git clean first (kasha)
Date Fri, 14 Nov 2014 23:40:32 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.5 178831509 -> c8b7146e2


HADOOP-11307. create-release script should run git clean first (kasha)

(cherry picked from commit 4fb96dbe3bbfd3ae88b41c816e15acee04518851)


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

Branch: refs/heads/branch-2.5
Commit: c8b7146e20e7951b4e69535d56b2d8685ccfa910
Parents: 1788315
Author: Karthik Kambatla <kasha@apache.org>
Authored: Fri Nov 14 15:35:50 2014 -0800
Committer: Karthik Kambatla <kasha@apache.org>
Committed: Fri Nov 14 15:40:08 2014 -0800

----------------------------------------------------------------------
 dev-support/create-release.sh                   | 6 ++++++
 hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c8b7146e/dev-support/create-release.sh
----------------------------------------------------------------------
diff --git a/dev-support/create-release.sh b/dev-support/create-release.sh
index 447fbdd..7a3dd70 100755
--- a/dev-support/create-release.sh
+++ b/dev-support/create-release.sh
@@ -47,6 +47,9 @@ RC_LABEL=$1
 # Extract Hadoop version from POM
 HADOOP_VERSION=`cat pom.xml | grep "<version>" | head -1 | sed 's|^ *<version>||'
| sed 's|</version>.*$||'`
 
+# Setup git
+GIT=${GIT:-git}
+
 echo
 echo "*****************************************************************"
 echo
@@ -70,6 +73,9 @@ fi
 
 ARTIFACTS_DIR="target/artifacts"
 
+# git clean to clear any remnants from previous build
+run ${GIT} clean -xdf
+
 # mvn clean for sanity
 run ${MVN} clean
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/c8b7146e/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 201729c..87253bb 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -16,6 +16,8 @@ Release 2.5.2 - UNRELEASED
 
     HADOOP-11260. Patch up Jetty to disable SSLv3. (Mike Yoder via kasha)
 
+    HADOOP-11307. create-release script should run git clean first. (kasha)
+
 
 Release 2.5.1 - 2014-09-05
 


Mime
View raw message