Repository navigation
fix(ci): publish a release only after its files are attached - #7339
Conversation
|
What only the first real release after the merge can prove:
One known limit: GitHub documents that publishing needs the |
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/45889732374/job/140149112892 Skipped check: Trivy |
🤖 I have created a release *beep* *boop* --- ## [0.223.2](v0.223.1...v0.223.2) (2026-11-26) ### Bug Fixes * **ci:** publish a release only after its files are attached ([#7339](#7339)) ([8735301](8735301)) * **github:** refuse an issue read that answers for another issue ([#7336](#7336)) ([ff6c0cc](ff6c0cc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The repository has immutable releases, so GitHub refuses a file for a published release. The release of v0.223.0 went out without its wheel, sdist and checksums, and each later release run would fail the same way.
release-please now creates the tag and a draft release (
draftandforce-tag-creation). The job that attaches the files publishes the release in the same script, so a failed upload leaves a draft and publishes nothing. The release feed leaves out a release with no publication time. RELEASE_CYCLE.md says how to finish a release that stays a draft. Immutable releases stay on.Only a real release can prove the whole cycle. ADR 0013 now says that there is no draft release; its next change must supersede it.
Closes #7328
Change:
openspec/changes/archive/2026-11-26-7328-release-draft-then-publish/