Skip to content

fix(publish-flatpak): attach bundles to the calling repository's release - #356

Merged
hanthor merged 1 commit into
mainfrom
fix/release-upload-calling-repo
Nov 7, 2026
Merged

hanthor merged 1 commit into
mainfrom
fix/release-upload-calling-repo

Conversation

@hanthor

@hanthor hanthor commented Nov 7, 2026

Copy link
Copy Markdown
Member

The release-bundles job uploaded with --repo ${{ inputs.repo-name }}. repo-name is the registry image path and index key, and tuna-os/gtk-office-suite publishes three apps from one repository with repo-name: tuna-os/{letters,tables,decks}. The upload therefore targeted repositories that do not exist, and the tag publish failed (v2.1.0, run 30248959744). It now uploads to $GITHUB_REPOSITORY. Callers whose repo-name equals their repository (Tavern, dualcut, finupdate) are unaffected.

Part of tuna-os/gtk-office-suite#1862.

repo-name is the registry image path and index key. gtk-office-suite sets it
per app (tuna-os/letters, tuna-os/tables, tuna-os/decks), so uploading the
bundles with --repo repo-name targeted repositories that do not exist and the
tag's Publish Flatpaks run failed (v2.1.0, run 30248959744). Upload to
GITHUB_REPOSITORY, the repository whose tag triggered the release; for repos
where repo-name equals the repository this changes nothing.
@hanthor
hanthor merged commit 794ded9 into main Nov 7, 2026
3 checks passed
@hanthor
hanthor deleted the fix/release-upload-calling-repo branch November 7, 2026 13:19
hanthor added a commit to tuna-os/gtk-office-suite that referenced this pull request Nov 7, 2026
The pinned revision uploaded release bundles with --repo tuna-os/<app>,
which does not exist; #356 uploads to the calling repository.
@hanthor-hive-agent hanthor-hive-agent Bot added author/human A person pushed this PR themselves no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/untrusted Author has no registry profile or verified hive claim (or is revoked); never auto-merged stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 7, 2026
hanthor added a commit to tuna-os/gtk-office-suite that referenced this pull request Nov 7, 2026
…lish (#1893)

* ci(release): draft releases, attach SDK-built /app tarballs, then publish

autorelease.yml pushed a tag but never created a GitHub release, so the
reusable workflow's bundle upload and anything reading releases/latest had
nothing to work with. It now creates the release as a draft before
dispatching the publish. publish-flatpak.yml builds each app's /app tree in
the GNOME SDK (x86_64 and aarch64), attaches <app>-<arch>.tar.gz and its
sha256 to the release, and publishes the draft once the Flatpaks are out.
FlatPark repackages these tarballs; building them from the tag in CI keeps
the published bytes matching the tag they are filed under.

Part of #1862.

* ci(release): pin the reusable publish workflow to tuna-os/.github#356

The pinned revision uploaded release bundles with --repo tuna-os/<app>,
which does not exist; #356 uploads to the calling repository.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/human A person pushed this PR themselves no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/untrusted Author has no registry profile or verified hive claim (or is revoked); never auto-merged stage/050-review-pending Review swarm requested; awaiting a verdict for the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant