Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: publish to winget in release workflow#108

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
matifali merged 1 commit intomainfromatif/winget-publish
May 28, 2025

Conversation

matifali
Copy link
Member

  • Sync fork and submit updated manifest to winget-pkgs.
  • Install wingetcreate for submission.
  • Fetch git tags to fix lightweight tag issue.
  • Comment on PR after submission.
  • Use outputs from release job to manage versions.
  • Manage installer URLs dynamically for different architectures.

This is adapted from already testedcoder/coder workflow.

https://github.com/coder/coder/blob/afaa20e1663e773c3f490cba2419ad9217b537f6/.github/workflows/release.yaml#L808-L895

- Sync fork and submit updated manifest to winget-pkgs.- Install wingetcreate for submission.- Fetch git tags to fix lightweight tag issue.- Comment on PR after submission.- Use outputs from release job to manage versions.- Manage installer URLs dynamically for different architectures.
@matifalimatifali self-assigned thisMay 27, 2025
Copy link
Member

@deansheatherdeansheather left a comment

Choose a reason for hiding this comment

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

Secret added!

matifali reacted with heart emoji
@matifalimatifali requested a review fromCopilotMay 28, 2025 03:49
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new Winget publication step to the release workflow by exposing the release version and defining a dedicated job to sync the winget-pkgs fork, update the manifest, and comment on the resulting PR.

  • Expose theversion output from therelease job.
  • Introduce awinget job to sync the fork, installwingetcreate, submit the updated manifest, and comment on the PR.
  • Dynamically fetch installer URLs and automate PR notification.
Comments suppressed due to low confidence (1)

.github/workflows/release.yaml:123

  • [nitpick] Thewinget job name is generic; renaming it to something likepublish-winget would clarify its role in the workflow.
winget:

GH_TOKEN: ${{ secrets.CDRCI_GITHUB_TOKEN }}

- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Copy link
Preview

CopilotAIMay 28, 2025

Choose a reason for hiding this comment

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

[nitpick] Pinningactions/checkout to a specific commit SHA can hinder updates; consider using a semver tag (e.g.,v4) to receive non-breaking fixes and improvements automatically.

Suggested change
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
uses:actions/checkout@v4# v4.2.2

Copilot uses AI. Check for mistakes.

@matifalimatifali merged commit2301c75 intomainMay 28, 2025
3 checks passed
@matifalimatifali deleted the atif/winget-publish branchMay 28, 2025 03:55
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@matifalimatifali

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@matifali@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp