mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge pull request #491 from rosslagerwall/cp7644-v2
CP-7644: Write XenCenter product version and build number
This commit is contained in:
commit
8911939172
@ -54,7 +54,7 @@ then
|
||||
fi
|
||||
|
||||
#update local xenadmin-ref.hg repository
|
||||
cp ${OUTPUT_DIR}/{manifest,latest-*-build} ${ROOT}/xenadmin-ref.hg
|
||||
cp ${OUTPUT_DIR}/{manifest,latest-*-build,xcversion} ${ROOT}/xenadmin-ref.hg
|
||||
cd ${ROOT}/xenadmin-ref.hg && hg commit -m "Latest successful build ${get_BUILD_ID}"
|
||||
|
||||
if [ ${XS_BRANCH} = "trunk" ]
|
||||
|
@ -431,6 +431,10 @@ else
|
||||
echo ${get_BUILD_URL} >> ${OUTPUT_DIR}/latest-successful-build
|
||||
fi
|
||||
|
||||
# Write out version information
|
||||
echo "xc_product_version=${XC_PRODUCT_VERSION}" >> ${OUTPUT_DIR}/xcversion
|
||||
echo "build_number=${BUILD_NUMBER}" >> ${OUTPUT_DIR}/xcversion
|
||||
|
||||
echo "Build phase succeeded at "
|
||||
date
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user