Files
cozystack/.github/workflows
Myasnikov DaniilandClaude Opus 4.8 d51a053a8b fix(ci): harden promote-rc validation and asset restamping
Two issues flagged in review on promote-rc.yaml:

- The "Validate rc is promotable" github-script called core.setFailed()
  but kept running: a missing rc release then hit `rcRel.assets` and a
  missing disk asset hit `disk.id`, throwing a TypeError that masked the
  intended failure message. Return immediately after each setFailed so the
  clean diagnostic is what surfaces.

- "Create draft stable release and upload assets" ran `make upload_assets`
  without COZYSTACK_VERSION. upload_assets depends on `manifests`, which
  re-renders the operator manifests; with no version it blanks the
  platformVersion, silently undoing the stable stamp the Restamp step just
  applied. Pass COZYSTACK_VERSION=${STABLE_VERSION} so the re-render
  re-stamps the stable version.

Assisted-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-07-06 10:23:51 +05:00
..