Release workflow: open the winget update pull request automatically

未關閉
#16 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
半天
新手友好度
55/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
github-actions, rust, tauri, yaml
領域
devops, release

研究方向

Start with .github/workflows/release.yml to see how the release is published, then look at packaging/winget/ for the current manifest layout. Add a job that runs after publishing and skips when the WINGET_TOKEN secret is missing. Done when a dry run of wingetcreate update without --submit produces a manifest that winget validate accepts, and the PR notes which secret to add.

由索引模型根據 Issue 內容生成。

描述

enhancement help wanted

Hidely has been submitted to the winget repository as CodingRule.Hidely, but every new release would need its manifest updated by hand. The release workflow could open that pull request itself.

What to do

Add a job to .github/workflows/release.yml that runs after the release is published and:

  • uses wingetcreate update (or the vedantmgoyal9/winget-releaser action) for CodingRule.Hidely, with the new version and the Hidely_<version>_x64-setup.exe download URL;
  • submits the pull request to microsoft/winget-pkgs using a token stored as a repository secret (for example WINGET_TOKEN, a classic token with public_repo only). Never put a token in the workflow file.
  • is skipped, not failed, when the secret isn't set, so forks still build.

The current manifests are in packaging/winget/ for reference.

Done when

  • The job is in the workflow, and the pull request says which secret a maintainer needs to add.
  • A dry run (wingetcreate update without --submit) produces a manifest that winget validate accepts.
主要語言
Rust
星號
7
分支
1
平均合併
6 小時 34 分鐘
30 天內合併 PR
2

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CodingRule/Hidely 的其他 Issue

查看 CodingRule/Hidely 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。