support BUILD_DATE for experimental versions
This commit is contained in:
parent
db81f77fd0
commit
b3c3b41e30
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue