Skip to content

feat(publish-release): attach release assets #77

Closed

Description

@uniqueg

Why

The shared publish-release action creates the GitHub release as published right away. Repos with immutable releases (krini, cloud-registry, ...) can't add assets to a published release, so a repo that attaches files (e.g. a packaged Helm chart, as cloud-registry does) can't use the action. krini#94 needs this for Krini 0.1.0 (Wed 2026-11-18): it attaches the packaged chart and its Sigstore bundle.

Expected result

  • A new optional input assets (one path per line) attaches files to the release: the release is created as a draft, gets the files, and is published only then (gh release create <tag> ... -- <files> does exactly this, and deletes the draft if an upload or the publishing fails)
  • The files are checked before any API call (regular files, distinct names, no #), but not with check-only, which runs before they are built
  • A re-run passes for an existing release only if it also has all the assets
  • README and tests updated; released as v1.2.0 so that krini can pin it

Part of #65 (first checkbox: "Publish the GitHub release: draft, --verify-tag, assets, ...").

Activity

  1. self-assigned this
    on Nov 15, 2026
  2. added
    priority: high
    status: in progress
    type: feature
    workload: hours
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: highstatus: in progresstype: featureworkload: hours

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions