support BUILD_DATE for experimental versions

This commit is contained in:
Daniel Frank 2024-11-04 20:05:53 +01:00
parent db81f77fd0
commit b3c3b41e30
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -79,7 +79,7 @@ pushd "$site_path"
# shellcheck source=/dev/null # shellcheck source=/dev/null
. ./build.conf . ./build.conf
GLUON_AUTOUPDATER_BRANCH="${GLUON_AUTOUPDATER_BRANCH:-experimental}" GLUON_AUTOUPDATER_BRANCH="${GLUON_AUTOUPDATER_BRANCH:-experimental}"
[ "${GLUON_AUTOUPDATER_BRANCH}" = "experimental" ] && GLUON_RELEASE="${GLUON_RELEASE}~exp$(date +%Y%m%d)" [ "${GLUON_AUTOUPDATER_BRANCH}" = "experimental" ] && GLUON_RELEASE="${GLUON_RELEASE}~exp${BUILD_DATE:-$(date +%Y%m%d)}"
export GLUON_RELEASE export GLUON_RELEASE
export GLUON_AUTOUPDATER_BRANCH export GLUON_AUTOUPDATER_BRANCH
export GLUON_SITEDIR="${site_path}" export GLUON_SITEDIR="${site_path}"