mnemonic-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject incubator-mnemonic git commit: MNEMONIC-143: Clean up before release
Date Tue, 11 Oct 2016 18:26:07 GMT
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) <gang1.wang@intel.com>
Authored: Tue Oct 11 11:24:50 2016 -0700
Committer: Wang, Gang(Gary) <gang1.wang@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 &&


Mime
View raw message