File tree Expand file tree Collapse file tree
hadoop-common-project/hadoop-common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ RC_LABEL=$1
4747# Extract Hadoop version from POM
4848HADOOP_VERSION=` cat pom.xml | grep " <version>" | head -1 | sed ' s|^ *<version>||' | sed ' s|</version>.*$||' `
4949
50+ # Setup git
51+ GIT=${GIT:- git}
52+
5053echo
5154echo " *****************************************************************"
5255echo
7073
7174ARTIFACTS_DIR=" target/artifacts"
7275
76+ # git clean to clear any remnants from previous build
77+ run ${GIT} clean -xdf
78+
7379# mvn clean for sanity
7480run ${MVN} clean
7581
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ Release 2.5.2 - 2014-11-19
1616
1717 HADOOP-11260. Patch up Jetty to disable SSLv3. (Mike Yoder via kasha)
1818
19+ HADOOP-11307. create-release script should run git clean first. (kasha)
20+
1921
2022Release 2.5.1 - 2014-09-05
2123
You can’t perform that action at this time.
0 commit comments