From 5ef3819fb4381aaa26f5a51088f672938056973c Mon Sep 17 00:00:00 2001 From: Julien Bonjean <julien@bonjean.info> Date: Mon, 20 Jul 2009 23:04:43 -0400 Subject: [PATCH] [#1785] Fixed build when no new commit --- tools/build-system/sfl-git-dch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build-system/sfl-git-dch.sh b/tools/build-system/sfl-git-dch.sh index 8a221fdcde..740cc448b6 100755 --- a/tools/build-system/sfl-git-dch.sh +++ b/tools/build-system/sfl-git-dch.sh @@ -7,7 +7,7 @@ # Author: Julien Bonjean (julien@bonjean.info) # # Creation Date: 2009-05-13 -# Last Modified: 2009-06-22 14:40:21 -0400 +# Last Modified: 2009-07-20 23:03:24 -0400 ##################################################### # set -x @@ -75,7 +75,7 @@ CHANGELOG_CONTENT=`git log --no-merges --pretty=format:"%s" ${REF_COMMIT_HASH}.. if [ "$?" -eq "1" ]; then echo " !! No new commit since last release" - exit -1 + CHANGELOG_CONTENT="No new commit" fi if [ "$?" -ne "0" ]; then -- GitLab