Release workflow: open the winget update pull request automatically

Ouverte
#16 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
55/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github-actions, rust, tauri, yaml
Domaine
devops, release

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Rust
Étoiles
7
Forks
1
Merge moyen
6 h 34 min
PR mergées (30 j)
2

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de CodingRule/Hidely

Toutes les issues de CodingRule/Hidely

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.