fix(ci): a prerelease's image job exits 0 after pushing its images #1217
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/release-prerelease-exit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The v4.6.0-rc1 tag's "Build and push versioned images" job went red after pushing all three images (backend, frontend and bot were all at
:4.6.0-rc1, digests in the log).The cause is in
release.yml: for a prerelease,publish_latestis empty, and the loop's last command was[ -n "$publish_latest" ] && docker push …:latest. A false test as a step's last command makes the step exit 1. Both[ … ] && …lines are nowif … then … fi.This shows on every prerelease; a final release was unaffected. It will be checked on the next tag.
🤖 Generated with Claude Code