You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by ga...@apache.org on 2016/10/11 18:26:07 UTC

incubator-mnemonic git commit: MNEMONIC-143: Clean up before release

Repository: incubator-mnemonic
Updated Branches:
  refs/heads/master da301c912 -> 4bd864b32


MNEMONIC-143: Clean up before release


Project: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/commit/4bd864b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/tree/4bd864b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/diff/4bd864b3

Branch: refs/heads/master
Commit: 4bd864b323299eecfebb3fb75c247322497cc545
Parents: da301c9
Author: Wang, Gang(Gary) <ga...@intel.com>
Authored: Tue Oct 11 11:24:50 2016 -0700
Committer: Wang, Gang(Gary) <ga...@intel.com>
Committed: Tue Oct 11 11:24:50 2016 -0700

----------------------------------------------------------------------
 build-tools/release.sh | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/blob/4bd864b3/build-tools/release.sh
----------------------------------------------------------------------
diff --git a/build-tools/release.sh b/build-tools/release.sh
index 0438c77..3321d6c 100755
--- a/build-tools/release.sh
+++ b/build-tools/release.sh
@@ -49,6 +49,8 @@ echo "You have specified:"
 echo "RELEASE_VERSION = ${RELEASE_VERSION}"
 echo "NEXT_RELEASE_VERSION = ${NEXT_RELEASE_VERSION}"
 echo "RELEASE_CANDIDATE_ID = ${RELEASE_CANDIDATE_ID}"
+echo "NOTE: Please ensure there are no uncommitted or untracked files in your local workplace/repo. before continue"
+continueprompt
 
 git checkout master
 
@@ -78,6 +80,7 @@ git commit . -m "Prepare for releasing ${RELEASE_VERSION}-incubating ${RELEASE_C
 git tag -s v${RELEASE_VERSION}-incubating -m "Releasing ${RELEASE_VERSION}-incubating ${RELEASE_CANDIDATE_ID}"
 
 rm -rf target/
+git clean -xdf
 
 mvn clean prepare-package -DskipTests -Dremoteresources.skip=true &&
 mvn prepare-package -DskipTests -Dremoteresources.skip=true &&