Skip to content

fix(release): upload nested Firefox release assets - #47

Merged
kbuffardi merged 3 commits into
mainfrom
fix/firefox-release
Jul 28, 2026
Merged

fix(release): upload nested Firefox release assets#47
kbuffardi merged 3 commits into
mainfrom
fix/firefox-release

Conversation

@kbuffardi

Copy link
Copy Markdown
Owner

Summary

Fix the GitHub release workflow so it uploads the signed Firefox unlisted XPI.

Root cause

The workflow passed release/* directly to gh release upload and gh release create. Once Firefox signing created release/firefox-unlisted/, that glob expanded to a directory, which the GitHub CLI rejected.

Changes

  • Recursively collect regular files under release/ before publishing assets.
  • Fail clearly if no release files were generated.
  • Add a regression test preventing directory globs from returning.
  • Update release documentation to describe nested assets.

Validation

  • npm run lint
  • npm run build
  • npm run test:e2e
  • Focused release packaging test
  • bash -n workflow shell block
  • git diff --check

The pre-existing untracked spec files in the worktree were intentionally not included.

Collect regular files recursively before invoking the GitHub CLI so the signed Firefox XPI directory is not passed as an upload argument. Add a workflow regression guard and document the nested asset layout.
@kbuffardi
kbuffardi marked this pull request as ready for review July 28, 2026 22:34
@kbuffardi
kbuffardi merged commit a0dc21a into main Jul 28, 2026
2 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.

1 participant