Fix draft release creation fallback #1401

Merged
coilyco-ops merged 1 commit from issue-1393 into main 2026-07-15 11:16:06 +00:00
Member

This fixes the draft-release publish step that was failing on a missing draft-${sha} release and turns the release creation logic into a tested helper.

  • promote.yml now calls scripts/publish-draft-release.sh, which creates the draft on a 404 and reuses same-named assets on reruns.
  • Added contract coverage for the missing-draft path and the explicit non-applicability of moving release/latest aliases for Ward's binary artifacts.
  • Updated the release docs to state that Ward publishes immutable versioned binaries only.

Testing:

  • go test ./...

closes #1393
ward.workflow: pull-request-and-merge

This fixes the draft-release publish step that was failing on a missing `draft-${sha}` release and turns the release creation logic into a tested helper. - `promote.yml` now calls `scripts/publish-draft-release.sh`, which creates the draft on a 404 and reuses same-named assets on reruns. - Added contract coverage for the missing-draft path and the explicit non-applicability of moving `release`/`latest` aliases for Ward's binary artifacts. - Updated the release docs to state that Ward publishes immutable versioned binaries only. Testing: - `go test ./...` closes #1393 ward.workflow: pull-request-and-merge
Fix draft release publish fallback
All checks were successful
test / test (pull_request) Successful in 56s
b40a58ffa8
Sign in to join this conversation.
No description provided.