From 9d04c73b20d63787f5a858c0c6cbf7e1a5c283b8 Mon Sep 17 00:00:00 2001 From: Cristian Felipe Cruz Buitron Date: Mon, 14 Sep 2026 04:04:17 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20bumpear=20APP=5FVERSION=20al=20promover?= =?UTF-8?q?=20a=20producci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complementa el cambio en apps-registry (footer lee process.env.APP_VERSION para mostrar la versión real desplegada) -- sin esto, promover a Producción actualizaría la imagen pero dejaría el footer mostrando la versión vieja. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_012Y4df3Z7odr9Cg8F2nw6uV --- promote-to-production.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/promote-to-production.sh b/promote-to-production.sh index a36f367..e953735 100755 --- a/promote-to-production.sh +++ b/promote-to-production.sh @@ -48,6 +48,10 @@ git checkout -B main origin/main sed -i -E "s|(image: ${IMAGE_NAME}:).*|\1${STAGING_VERSION}|g" "${PROD_MANIFEST}" +# Mismo bump que hace build.yaml en Staging -- el footer lee APP_VERSION +# para mostrar la version real desplegada. +perl -0777 -pi -e "s/(- name: APP_VERSION\n\s*value: ).*/\${1}${STAGING_VERSION}/" "${PROD_MANIFEST}" + git add "${PROD_MANIFEST}" if git diff --cached --quiet; then echo "No hay cambios en el manifiesto de Producción."