Skip to content

Added automatic WinGet Releases#469

Merged
prayag17 merged 5 commits into
prayag17:mainfrom
schembriaiden:main
Jan 18, 2025
Merged

Added automatic WinGet Releases#469
prayag17 merged 5 commits into
prayag17:mainfrom
schembriaiden:main

Conversation

@schembriaiden
Copy link
Copy Markdown
Contributor

@schembriaiden schembriaiden commented Dec 17, 2024

DO NOT POST SECRET HERE

As explained by the title this will start automatically creating winget manifests for you when a new version is published on GitHub.

A few things are needed, so follow these steps or else the workflow will not run:

  1. Go to your account settings from the top-right:

image

  1. Bottom-left go to Developer Settings

image

  1. Then go to Personal Access Tokens and then Tokens (classic):

image

  1. Then click Generate new-token, and go on Generate new token (classic):

image

  1. Here as Note put: Blink Winget Releaser, Expiration set it to No Expiration (If you want to create an expiration date go ahead, but this would mean repeating this process at the end of its lifetime), and scope select the following:

image

Then just scroll down and hit Generate token, after just copy the token and keep it handy

  1. Then come back to this repository and click Settings:

image

  1. Then go to Secrets and Variables and click on Actions:

image

  1. Then click `New repository secret:

image

  1. Name should be: WINGET_TOKEN and Secret should be the one you copied from before, then just click Add Secret

@schembriaiden schembriaiden changed the title Added automatic WinGet releases Added automatic WinGet Releases for Alpha versions Jan 12, 2025
@prayag17
Copy link
Copy Markdown
Owner

Shouldn't alpha be a version tag rather than a part of the identifier?

@schembriaiden
Copy link
Copy Markdown
Contributor Author

schembriaiden commented Jan 12, 2025

This is how the Winget maintainers prefer to do it by adding an Alpha to the Package Identifier. When releases become stable instead of alpha, these should then go into prayag17.Blink, instead of prayag17.Blink.Alpha, which means another workflow needs to be done for stable releases.

EDIT: I adjusted the workflow to include the stable too for whenever that is ready.

@schembriaiden schembriaiden changed the title Added automatic WinGet Releases for Alpha versions Added automatic WinGet Releases Jan 12, 2025
@prayag17
Copy link
Copy Markdown
Owner

This is how the Winget maintainers prefer to do it by adding an Alpha to the Package Identifier. When releases become stable instead of alpha, these should then go into prayag17.Blink, instead of prayag17.Blink.Alpha, which means another workflow needs to be done for stable releases.

EDIT: I adjusted the workflow to include the stable too for whenever that is ready.

Ohk I will take a look

@prayag17
Copy link
Copy Markdown
Owner

Thanks @vikingnope for adding winget publisher.

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.

2 participants