ci(release): auto-publish Homebrew tap + WinGet PR on stable releases
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start with .github/workflows/release.yml and scripts/render-package-manifests.sh to trace how stable releases render and upload the manifests. Then review the Homebrew tap and WinGet publishing options named in the issue, including the required token permissions. Done when stable releases publish both registries, prereleases skip publishing, and manual rendering remains available.
索引モデルが issue の本文から書いたものです。
説明
Context
For v0.1.0 the package registries were seeded manually:
- Homebrew: created the
AndreaBozzo/homebrew-taprepo and committedFormula/gitnodes.rb(install:brew install andreabozzo/tap/gitnodes). - WinGet: opened microsoft/winget-pkgs#396497 by hand (fork → 3 manifests → PR).
The release.yml workflow already renders both manifest sets (scripts/render-package-manifests.sh) and uploads them as release assets, but it does not publish them anywhere. Every future release currently means repeating the manual steps above with fresh SHAs.
Goal
On each stable (v* without a - suffix) release, automatically:
- Homebrew — push the rendered
gitnodes.rbtoAndreaBozzo/homebrew-tapatFormula/gitnodes.rb. - WinGet — open/refresh the
microsoft/winget-pkgsPR for the new version.
Approach
- Homebrew: add a step to the
package-metadatajob that commits the rendered formula to the tap repo. Needs a token withcontents:writeonAndreaBozzo/homebrew-tap(the defaultGITHUB_TOKENcan't push to another repo). - WinGet: use
vedantmgoyal9/winget-releaser(community action, submits to winget-pkgs from a fork on release) — or drivewingetcreate updatein a step. Either way it needs a PAT that can push to theAndreaBozzo/winget-pkgsfork and open a PR upstream.
Prerequisite (owner action)
Create a fine-grained PAT and add it as an Actions secret (e.g. PACKAGING_TOKEN) with:
contents:writeonAndreaBozzo/homebrew-tap- push access to the
AndreaBozzo/winget-pkgsfork (for the WinGet PR)
Acceptance criteria
- Tagging a stable release updates
homebrew-tap/Formula/gitnodes.rbwith no manual step. - Tagging a stable release opens/updates the winget-pkgs PR automatically.
- Pre-release tags (
-rc,-pre) still skip package publishing (as they skip manifest rendering today). - Manual
render-package-manifests.shpath remains as a fallback.
- 主要言語
- Rust
- スター
- 5
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AndreaBozzo/gitnodes のほかの issue
-
good first issue rust
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AndreaBozzo/gitnodes#13 ·
-
help wanted rust
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
AndreaBozzo/gitnodes#19 ·
-
enhancement help wanted rust
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
AndreaBozzo/gitnodes#18 ·
-
help wanted rust
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
AndreaBozzo/gitnodes#17 ·
-
enhancement help wanted rust
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
AndreaBozzo/gitnodes#16 ·
AndreaBozzo/gitnodes の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DecapodLabs/decapod#1871 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
P-008 tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kokernk-ctrl/KINN#10 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
416rehman/Guardrails#1716 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
dginev/latexml-oxide#943 ·
メンテナーはふだん 1 日以内に返信
-
area:core area:python task
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信