Skip to content

Combine test and release workflows & Add Winget Releaser - #53

Merged
ibigbug merged 4 commits into
Watfaq-legacy:mainfrom
sitiom:winget-releaser
Sep 10, 2022
Merged

ibigbug merged 4 commits into
Watfaq-legacy:mainfrom
sitiom:winget-releaser

Conversation

@sitiom

@sitiom sitiom commented Sep 3, 2022 •

Copy link
Copy Markdown
Contributor

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

I have created a PR to add PowerSession to Winget, and this workflow will be used to update it.

Before merging this:

  1. Add a PAT with public_repo scope as a repository secret named WINGET_TOKEN (or rename the secret name in the workflow).

example

  1. Fork https://github.com/microsoft/winget-pkgs under @Watfaq. The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.
  2. Make sure the PAT owner has signed the Contributor License Agreement for winget-pkgs.

If you would like to read about this action further, the documentation is here, and the source code is here.

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

Other changes:

@ibigbug ibigbug left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ibigbug
ibigbug merged commit 4e8498d into Watfaq-legacy:main Sep 10, 2022
@sitiom
sitiom deleted the winget-releaser branch September 10, 2022 11:18
@sitiom

sitiom commented Sep 10, 2022

Copy link
Copy Markdown
Contributor Author

@ibigbug Great, please try republishing now

@ibigbug

ibigbug commented Sep 10, 2022

Copy link
Copy Markdown
Member

@ibigbug

ibigbug commented Sep 10, 2022

Copy link
Copy Markdown
Member

@sitiom looks like it worked https://github.com/microsoft/winget-pkgs/compare/master...Watfaq:winget-pkgs:Watfaq.PowerSession-0.1.7-8284D0C5832904?expand=1

@sitiom

sitiom commented Sep 28, 2022

Copy link
Copy Markdown
Contributor Author

@ibigbug I forgot an extra step: You should keep the fork regularly updated with Pull. Otherwise, it will eventually try to update the old workflows without the workflow scope, resulting in an error.

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.

PowerSession does not work properly

2 participants