Repository: wicket
Updated Branches:
  refs/heads/build/wicket-7.0.0-M6 [created] 2cdeb2535


Added workspace uncommitted changes detection


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

Branch: refs/heads/build/wicket-7.0.0-M6
Commit: 3a9785fa4f60dcb078080728927482750a295197
Parents: e9944ee
Author: Martijn Dashorst <[email protected]>
Authored: Fri Jun 12 18:19:05 2015 +0200
Committer: Martijn Dashorst <[email protected]>
Committed: Fri Jun 12 18:19:05 2015 +0200

----------------------------------------------------------------------
 release-dashorst.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/3a9785fa/release-dashorst.sh
----------------------------------------------------------------------
diff --git a/release-dashorst.sh b/release-dashorst.sh
index a6d9a1e..e5ff22d 100755
--- a/release-dashorst.sh
+++ b/release-dashorst.sh
@@ -118,6 +118,14 @@ Use build-changelog.sh to add the release notes to the 
changelog.
 "
 fi
 
+git status --porcelain CHANGELOG-$major_version.x | grep -q "M"
+if [ $? -eq 0 ] ; then
+       fail "You have changes in your workspace that have not been committed.
+       
+$(git status)
+"
+fi
+
 log=$(pwd)/release.out
 
 if [ -f $log ] ; then

Reply via email to