Release workflow: open the winget update pull request automatically

Offen
#16 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, rust, tauri, yaml
Bereich
devops, release

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
Rust
Sterne
7
Forks
1
Ø Merge
6 Std. 34 Min.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CodingRule/Hidely

Alle Issues in CodingRule/Hidely

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.