Skip to content

Fix release workflow: create the release object before asset upload#21

Merged
yves-vogl merged 1 commit into
mainfrom
ci/fix-release-workflow
Jul 16, 2026
Merged

Fix release workflow: create the release object before asset upload#21
yves-vogl merged 1 commit into
mainfrom
ci/fix-release-workflow

Conversation

@yves-vogl

Copy link
Copy Markdown
Contributor

Summary

  • Add an idempotent create-release job (gh release view || gh release create --generate-notes) so the release object exists before either build job runs gh release upload - without it, both jobs fail with "release not found" on a fresh tag push.
  • Make release-macos and release-windows depend on it (needs: create-release).
  • Verbatim port of the fix already merged in basilica-audio/crypta; no other workflow changes.

Test plan

  • CI on this PR validates YAML; the workflow itself only runs on tag pushes.
  • Next tag push exercises the full path (create release -> builds -> uploads).

Both release-macos and release-windows upload assets via `gh release
upload`, which requires the release object to already exist for the
tag - neither job created it, so both failed with "release not found"
on a fresh tag push. Add an idempotent create-release job (gh release
view || gh release create) and make both build jobs depend on it.
Mirrors the fix already merged in basilica-audio/crypta.
@yves-vogl
yves-vogl merged commit f2ddfb8 into main Jul 16, 2026
2 checks passed
@yves-vogl
yves-vogl deleted the ci/fix-release-workflow branch July 16, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant