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: move winget publish into release pipeline#5728

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
deansheather merged 3 commits intomainfromdean/winget-fix-pt2
Jan 16, 2023

Conversation

@deansheather
Copy link
Member

The current winget publish workflow is separate to the release which results in a lot of Tomfoolery when trying to get the version of the last release. This moves the winget publish step to a second job in the release workflow that depends on the release job, using an output from the release job to get the version.

cc:@matifali

Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

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

LGTM! 👍🏻

# we do it again to be safe.
$version = "${{ needs.release.outputs.version }}".Trim('v')
$release_assets = gh release view --repo coder/coder "v${version}" --json assets | `
Copy link
Member

Choose a reason for hiding this comment

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

Pro tip:gh builtinjq is pretty neat in these situations:

gh release view --repo coder/coder v0.14.2 --json assets --jq'.assets[] | select(.name | test("_windows_amd64_installer.exe$")) | .url'

TBH the pwsh script is pretty neat too.

deansheather reacted with thumbs up emoji
@deansheatherdeansheatherenabled auto-merge (squash)January 16, 2023 15:30
@matifali
Copy link
Member

This is cleaner and looks good to me.

@deansheatherdeansheather merged commit1d777c4 intomainJan 16, 2023
@deansheatherdeansheather deleted the dean/winget-fix-pt2 branchJanuary 16, 2023 15:40
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 16, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@mafredrimafredrimafredri approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@deansheather@matifali@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp