From f412f2e4182f4901b0ab442697b2802930ec93aa Mon Sep 17 00:00:00 2001 From: sowle Date: Wed, 17 Apr 2019 18:36:18 +0300 Subject: [PATCH] minor improvement to increment build num script --- utils/increment_build_number.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/increment_build_number.sh b/utils/increment_build_number.sh index 95d0a152..e9f78c08 100644 --- a/utils/increment_build_number.sh +++ b/utils/increment_build_number.sh @@ -3,7 +3,7 @@ curr_path=${BASH_SOURCE%/*} version_file_path=../src/version.h.in pushd $curr_path -git pull +git pull --ff-only if [ $? -ne 0 ]; then echo "Failed to pull" popd