!246 增加打包构建时间和commitid信息
Merge pull request !246 from zhangxubo/cherry-pick-1716624442
This commit is contained in:
3
build.sh
3
build.sh
@ -28,6 +28,7 @@ bit=$(getconf LONG_BIT)
|
||||
if [ "$bit" -eq 64 ]; then
|
||||
PLATFORM=64
|
||||
fi
|
||||
PKG_VERSION=6.0.0
|
||||
#get OS distributed version.
|
||||
kernel=""
|
||||
version=""
|
||||
@ -113,7 +114,7 @@ function install_jdbc()
|
||||
export COMMIT=$(git rev-parse --short HEAD)
|
||||
export OPENGAUSS_PACKAGE_NAME="org.opengauss";
|
||||
|
||||
export GS_VERSION="compiled at $(date +%Y-%m-%d-%H:%M:%S) build ${COMMIT}"
|
||||
export GS_VERSION="openGauss-JDBC ${PKG_VERSION} build ${COMMIT} compiled at $(date '+%Y-%m-%d %H:%M:%S')"
|
||||
export OUTPUT_DIR="${JDBC_DIR}/output"
|
||||
echo "Begin make jdbc..."
|
||||
export CLASSPATH=".:${JAVA_HOME}/lib/dt.jar:${JAVA_HOME}/lib/tools.jar"
|
||||
|
||||
Reference in New Issue
Block a user