Skip to content

release: draft from an existing tag - #146

Merged
alicefr merged 3 commits into
bootc-dev:mainfrom
HarshwardhanPatil07:release-existing-tag
Oct 1, 2026
Merged

alicefr merged 3 commits into
bootc-dev:mainfrom
HarshwardhanPatil07:release-existing-tag

Conversation

@HarshwardhanPatil07

@HarshwardhanPatil07 HarshwardhanPatil07 commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Why

The v0.1.2 tag already exists. Its initial release run failed when the Fedora-built bink binary was executed on the Ubuntu runner. A draft release was created manually for the tag and initially had no assets.

Changes

  • Allow manual dispatch for an existing release tag.
  • Build and verify the downloadable binary on the runner with the dependencies used by CI.
  • Check release state before pushing images. Upload bink to an existing draft, create a draft when none exists, and refuse an already published release.

Verification

  • Local make build-bink VERSION=v0.1.2 and ./bink version succeeded.
  • Parsed the workflow YAML, checked shell syntax, and exercised draft, absent, published, and API-error paths with a mocked gh.
  • The branch release run succeeded: the binary passed its version check, all three images were pushed, and bink was uploaded to the existing draft. The release remains a draft.
  • The PR's container-image usage check timed out while pulling Kubernetes images; the other checks passed. Timed-out job.

The downloadable binary uses libgpgme.so.11, as did the published v0.1.1 asset. Neither runs on Fedora 44 without that library; the README documents building locally or using the container image. Cross-distribution binary packaging can be addressed separately.

Assisted-by: AI
Signed-off-by: HarshwardhanPatil07 harshpat@redhat.com

Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>
Build the release asset with the Ubuntu dependencies used by CI so the runner can execute it before attaching it to the draft release.

Assisted-by: AI
Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>
A draft for v0.1.2 already exists. Allow a manually dispatched release run to attach the built binary to that draft while preserving automatic draft creation for future tags.

Assisted-by: AI
Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>
@alicefr
alicefr merged commit 9054d0d into bootc-dev:main Oct 1, 2026
13 of 14 checks passed
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.

2 participants