Release workflow: open the winget update pull request automatically

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, rust, tauri, yaml
Ambito
devops, release

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Rust
Stelle
7
Fork
1
Merge medio
6h 34m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CodingRule/Hidely

Tutte le issue di CodingRule/Hidely

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.