Skip to content
Permalink
Browse files
Clean the version.sh file before build, otherwise the version informa…
…tion in the binary package produced by this compilation is still the commit id of the last time. (#9534)

Co-authored-by: stephen <hello-stephen@qq.com>
  • Loading branch information
hello-stephen and stephen committed May 13, 2022
1 parent e0ef04a commit 8c166d747c02ceed3c7791d4e44354398f7f9ef7
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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}

0 comments on commit 8c166d7

Please sign in to comment.