Skip to content

Update winget manifest after desktop releases - #14

Closed
v0id-user wants to merge 1 commit into
mainfrom
winget
Closed

v0id-user wants to merge 1 commit into
mainfrom
winget

Conversation

@v0id-user

Copy link
Copy Markdown
Member

Updates Hermitbox.Hermitbox in microsoft/winget-pkgs after Build on main publishes a desktop release, checks the files on dl.hbx.sh, and creates its GitHub release.

  • scripts/winget-update.sh: reads dl.hbx.sh/desktop/downloads.json, confirms the published version and versioned Windows .exe URL, skips cleanly when WINGET_GITHUB_TOKEN is unset, when the version already exists in microsoft/winget-pkgs, when the initial package is not yet in winget-pkgs, or when an open pull request already exists for that version, verifies Komac 2.17.2's Linux x86_64 tarball against its pinned SHA-256, and submits the update tagged x64 (overriding Tauri's 32-bit NSIS stub header) with the GitHub release notes link.
  • .github/workflows/build.yml: runs scripts/winget-update.sh at the end of the publish job under the release environment, leaving signing, the release key, and publishing unchanged.
  • docs/decisions.md: records Komac 2.17.2 (GPL-3.0-or-later) and the publish step.

Required secret (in the release environment):

  • WINGET_GITHUB_TOKEN: a classic GitHub personal access token with the public_repo scope on an account that has a fork of microsoft/winget-pkgs (fine-grained tokens cannot open cross-repository pull requests to microsoft/winget-pkgs).

Checked locally: actionlint on all workflows; sh -n on scripts/winget-update.sh; unit tests covering live dl.hbx.sh with unset token, version mismatch refusal, non-versioned URL refusal, existing version skip, missing package warning, exact-version open PR skip, and pinned SHA-256 Komac download and verification. Full CI runs on this pull request.

Updates Hermitbox.Hermitbox in microsoft/winget-pkgs after Build on main publishes a desktop release, checks the files on dl.hbx.sh, and creates its GitHub release.

- scripts/winget-update.sh: reads dl.hbx.sh/desktop/downloads.json, confirms the published version and versioned Windows .exe URL, skips cleanly when WINGET_GITHUB_TOKEN is unset, when the version already exists in microsoft/winget-pkgs, when the initial package is not yet in winget-pkgs, or when an open pull request already exists for that version, verifies Komac 2.17.2's Linux x86_64 tarball against its pinned SHA-256, and submits the update tagged x64 (overriding Tauri's 32-bit NSIS stub header) with the GitHub release notes link.
- .github/workflows/build.yml: runs scripts/winget-update.sh at the end of the publish job under the release environment, leaving signing, the release key, and publishing unchanged.
- docs/decisions.md: records Komac 2.17.2 (GPL-3.0-or-later) and the publish step.

Required secret (in the release environment):
- `WINGET_GITHUB_TOKEN`: a classic GitHub personal access token with the `public_repo` scope on an account that has a fork of `microsoft/winget-pkgs` (fine-grained tokens cannot open cross-repository pull requests to `microsoft/winget-pkgs`).

Checked locally: actionlint on all workflows; sh -n on scripts/winget-update.sh; unit tests covering live dl.hbx.sh with unset token, version mismatch refusal, non-versioned URL refusal, existing version skip, missing package warning, exact-version open PR skip, and pinned SHA-256 Komac download and verification. Full CI runs on this pull request.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T12:52:17.696802Z 14cf1fa PR opened
🔒 Security Review ✅ Completed 2026-11-30T12:54:18.464688Z 14cf1fa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@v0id-user v0id-user closed this Nov 30, 2026
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