[Pkg-voip-commits] [bctoolbox] 44/60: no longer abort if GIT version != PROJET VERSION. It allows to perform some packaging test with tags without having to push tag
Bernhard Schmidt
berni at moszumanska.debian.org
Sun Oct 15 22:42:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
berni pushed a commit to branch debian/sid
in repository bctoolbox.
commit c6a97a6fc754ba4997310671471d65376db71131
Author: Jehan Monnier <jehan.monnier at linphone.org>
Date: Mon Jun 12 15:31:08 2017 +0200
no longer abort if GIT version != PROJET VERSION.
It allows to perform some packaging test with tags without having to push tag
---
cmake/BcGitVersion.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/BcGitVersion.cmake b/cmake/BcGitVersion.cmake
index f9e23c0..09f4df8 100644
--- a/cmake/BcGitVersion.cmake
+++ b/cmake/BcGitVersion.cmake
@@ -40,7 +40,7 @@ string(TOUPPER "${PROJECT_NAME}" PREFIX_GIT_VERSION)
string(REPLACE "-" "_" PREFIX_GIT_VERSION "${PREFIX_GIT_VERSION}")
if(GIT_DESCRIBE)
if(NOT GIT_TAG STREQUAL PROJECT_VERSION)
- message(FATAL_ERROR "Project version (${PROJECT_VERSION}) and git tag (${GIT_TAG}) differ. Please put them identical")
+ message(WARNING "Project version (${PROJECT_VERSION}) and git tag (${GIT_TAG}) differ. Please put them identical")
endif()
set(PROJECT_GIT_VERSION "${GIT_DESCRIBE}")
configure_file("${TEMPLATE_DIR}/gitversion.h.in" "${OUTPUT_DIR}/gitversion.h" @ONLY)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/bctoolbox.git
More information about the Pkg-voip-commits
mailing list