This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c166d747c Clean the version.sh file before build, otherwise the 
version information in the binary package produced by this compilation is still 
the commit id of the last time. (#9534)
8c166d747c is described below

commit 8c166d747c02ceed3c7791d4e44354398f7f9ef7
Author: Dongyang Li <[email protected]>
AuthorDate: Fri May 13 10:23:44 2022 +0800

    Clean the version.sh file before build, otherwise the version information 
in the binary package produced by this compilation is still the commit id of 
the last time. (#9534)
    
    Co-authored-by: stephen <[email protected]>
---
 build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build.sh b/build.sh
index d3a76e802b..eb5aece5ae 100755
--- a/build.sh
+++ b/build.sh
@@ -266,6 +266,7 @@ FE_MODULES=$(IFS=, ; echo "${modules[*]}")
 
 # Clean and build Backend
 if [ ${BUILD_BE} -eq 1 ] ; then
+    if [ -e ${DORIS_HOME}/gensrc/build/gen_cpp/version.h ]; then rm -f 
${DORIS_HOME}/gensrc/build/gen_cpp/version.h ; fi
     CMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}
     echo "Build Backend: ${CMAKE_BUILD_TYPE}"
     CMAKE_BUILD_DIR=${DORIS_HOME}/be/build_${CMAKE_BUILD_TYPE}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to