代码拉取完成,页面将自动刷新
#!/usr/bin/env bash
#set -x
VERSION="v0.7.0"
SHORTSHA=$(git rev-parse --short HEAD)
LONGSHA=$(git rev-parse HEAD)
TAG_VERSION=":$VERSION"
TAG_SHORTSHA=":$SHORTSHA"
TAG_LONGSHA=":$LONGSHA"
BUILD_WHEN=$(date)
BUILD_WHEN_UTC=$(date -u +"%Y-%m-%dT%H-%M-%SZ")
COMMENT="hostname: $(hostname), who=$(whoami)"
cat <<EOF_VERSIONS > _versions.env
#
# This file is generated by build.update-versions.sh
#
VERSION="$VERSION"
SHORTSHA="$SHORTSHA"
LONGSHA="$LONGSHA"
# used to tag docker images when built from docker compose build (via ./build.sh)
TAG_VERSION="$TAG_VERSION"
TAG_SHORTSHA="$TAG_SHORTSHA"
TAG_LONGSHA="$TAG_LONGSHA"
# injected as labels into the docker image
BUILD_WHEN="$BUILD_WHEN"
BUILD_WHEN_UTC="$BUILD_WHEN_UTC"
COMMENT="$COMMENT"
EOF_VERSIONS
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。