From 573a272875d00b65980fe08902bfe4177bac1317 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 19 Jan 2021 12:31:38 -0800 Subject: [PATCH] Update to latest xe-solutions Signed-off-by: James Ketrenos --- scripts/promote-image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/promote-image.sh b/scripts/promote-image.sh index 60cdeeb..6416a99 100755 --- a/scripts/promote-image.sh +++ b/scripts/promote-image.sh @@ -16,8 +16,10 @@ else TAG=${TAG:-${OS_DISTRO}-${PACKAGE_STREAM}-${RELEASE_INFO}} fi +# The "TARGET_TAG" is intended to not be a unique tag; it should +# be replaced with each build. if [[ "${BUILD}" != "" ]] && [[ "${BUILD}" != "N/A" ]]; then - TARGET_TAG="${OS_DISTRO}-${OS_RELEASE}-${BUILD}" + TARGET_TAG="${OS_DISTRO}-${OS_RELEASE}-${BRANCH}" else TARGET_TAG="${OS_DISTRO}-${PACKAGE_STREAM}" fi