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

This commit is contained in:
Karthik Kambatla 2014-11-14 15:35:50 -08:00
parent 1a47f890ba
commit 4fb96dbe3b
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -1122,6 +1122,7 @@ Release 2.6.0 - 2014-11-18
HADOOP-9576. Changed NetUtils#wrapException to throw EOFException instead
of wrapping it as IOException. (Steve Loughran via jianhe)
Release 2.5.2 - 2014-11-10
INCOMPATIBLE CHANGES
@ -1138,6 +1139,7 @@ Release 2.5.2 - 2014-11-10
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