Commit new versions of development iteration.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/900e469c
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/900e469c
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/900e469c

Branch: refs/heads/next_stable
Commit: 900e469c910adcad822b0a6c8ba192618e50220d
Parents: d4b8296
Author: Thorsten Schöning <[email protected]>
Authored: Wed Aug 16 10:25:36 2017 +0200
Committer: Thorsten Schöning <[email protected]>
Committed: Wed Aug 16 10:25:36 2017 +0200

----------------------------------------------------------------------
 releasePrepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/900e469c/releasePrepare.sh
----------------------------------------------------------------------
diff --git a/releasePrepare.sh b/releasePrepare.sh
index 80f5104..ea9f789 100755
--- a/releasePrepare.sh
+++ b/releasePrepare.sh
@@ -81,7 +81,7 @@ sed -i -r "s/<body>/${new_release}/" "src/changes/changes.xml"
 
 git add "configure.ac"
 git add "src/changes/changes.xml"
-if git diff-index --quiet HEAD
+if ! git diff-index --quiet HEAD
 then
   git commit -m "Prepare for next development iteration: ${new_dev_ver_short}"
 fi

Reply via email to