Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add winget releaser workflow #35

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

sitiom
Copy link
Contributor

@sitiom sitiom commented Aug 18, 2024

This action automatically generates manifests for Winget Community Repository (microsoft/winget-pkgs) and submits them.

ABDownloadManager has been added to Winget (microsoft/winget-pkgs#168098), and this workflow will be used to update it.

Before merging this:

  1. Add a classic PAT with public_repo scope as a repository secret named WINGET_TOKEN.

example

  1. Fork https://github.com/microsoft/winget-pkgs under @amir1376. The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.
  2. Install Pull on the winget-pkgs fork to ensure that it is constantly updated.

If you want to see an example of a PR created using this action, see microsoft/winget-pkgs/pulls (Pull request has been created with WinGet Releaser).

@amir1376
Copy link
Owner

@sitiom Sorry for the late. I wanted to first create an installer which can update the app automatically (and silent without user action) as this issue ( #47 ) is fixed now so we can work on this PR.

.github/workflows/publish.yml Outdated Show resolved Hide resolved
@sitiom sitiom changed the title add winget releaser action add winget releaser workflow Oct 10, 2024
@sitiom
Copy link
Contributor Author

sitiom commented Oct 10, 2024

Can you please move this job to another workflow. because in this workflow I'm creating a draft release . (to be confirmed before publishing)

and this job should be triggered when a new release is actually published

Done. Since you made a new installer, this PR should only be merged once the next version is manually added (by me) to Winget with the latest changes.

@sitiom sitiom marked this pull request as draft October 10, 2024 12:41
@amir1376
Copy link
Owner

Thank you. I got it.

Since you made a new installer

What kind of key/attribute is making this installer unique for winget?

should I add something to the nsis script ?

@sitiom
Copy link
Contributor Author

sitiom commented Oct 11, 2024

There is nothing to be changed on your side, really; the InstallerType and some fields would have to be changed on the Winget side for the next version.

@sitiom
Copy link
Contributor Author

sitiom commented Oct 15, 2024

@sitiom sitiom marked this pull request as ready for review October 15, 2024 19:33
@sitiom
Copy link
Contributor Author

sitiom commented Oct 15, 2024

@amir1376 All good now

@amir1376 amir1376 merged commit 5d1ec83 into amir1376:master Oct 15, 2024
@amir1376
Copy link
Owner

amir1376 commented Oct 15, 2024

@sitiom Thank you.🙏

@sitiom sitiom deleted the winget-releaser branch October 15, 2024 19:59
@sitiom
Copy link
Contributor Author

sitiom commented Oct 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Winget package
2 participants