From 7f5ebe6afed9a86675cac6bf8576b990167ee14c Mon Sep 17 00:00:00 2001 From: monsieurleberre Date: Tue, 21 Jul 2026 14:56:56 +0200 Subject: [PATCH] ci(release): honor codegen_cs_version override only on dry runs The resolve job documented codegen_cs_version as dry_run-only but applied any override unconditionally. Force CGV back to VERSION on non-dry runs so a live release can never pick up a stale codegen-cs image override. --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 34c1645..3b9b75c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -68,6 +68,7 @@ jobs: fi DRY="${DRY_RUN_INPUT:-false}" CGV="${CODEGEN_CS_INPUT:-}"; [ -z "$CGV" ] && CGV="${VERSION}" + [ "$DRY" = "true" ] || CGV="${VERSION}" SPLICE="${SPLICE_INPUT:-}"; [ -z "$SPLICE" ] && SPLICE="${SPLICE_VAR:-}" FINANCE="${FINANCE_INPUT:-}"; [ -z "$FINANCE" ] && FINANCE="${FINANCE_VAR:-}"; [ -z "$FINANCE" ] && FINANCE="2.10.0" if [ -z "$SPLICE" ]; then