Skip to content

Commit e031d4e

Browse files
committed
4.0.0-rc02
1 parent cf84078 commit e031d4e

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

gensrc/script/gen_build_version.sh

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,17 @@
2727

2828
set -eo pipefail
2929

30-
build_version_prefix="${DORIS_BUILD_VERSION_PREFIX-doris}"
31-
build_version_major="${DORIS_BUILD_VERSION_MAJOR-0}"
32-
build_version_minor="${DORIS_BUILD_VERSION_MINOR-0}"
33-
build_version_patch="${DORIS_BUILD_VERSION_PATCH-0}"
34-
build_version_hotfix="${DORIS_BUILD_VERSION_HOTFIX-0}"
35-
build_version_rc_version="${DORIS_BUILD_VERSION_RC_VERSION-""}"
30+
vendor=doris
31+
if [[ $1 != "" ]]; then
32+
vendor=$1
33+
fi
34+
35+
build_version_prefix="${vendor}"
36+
build_version_major=4
37+
build_version_minor=0
38+
build_version_patch=0
39+
build_version_hotfix=0
40+
build_version_rc_version="rc02"
3641

3742
build_version="${build_version_prefix}-${build_version_major}.${build_version_minor}.${build_version_patch}"
3843
if [[ ${build_version_hotfix} -gt 0 ]]; then

0 commit comments

Comments
 (0)