Skip to content

Fix WinGet publish by setting release-tag explicitly#1924

Merged
adamtheturtle merged 1 commit intomainfrom
fix-winget-release-tag
Feb 7, 2026
Merged

Fix WinGet publish by setting release-tag explicitly#1924
adamtheturtle merged 1 commit intomainfrom
fix-winget-release-tag

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 7, 2026

The winget-releaser action defaults release-tag to github.event.release.tag_name, which is empty for workflow_dispatch triggers. This caused the action to fall back to the branch name main, then try to fetch a GitHub release with that tag, resulting in a 404.

This adds release-tag: ${{ needs.build.outputs.new_tag }} to both winget-releaser steps so the action looks up the correct release.

Fixes the failure in https://github.com/VWS-Python/vws-cli/actions/runs/21775715153/job/62832005733


Note

Low Risk
Small CI/workflow change to make WinGet publishing deterministic, plus a minor dev-only dependency lock bump; minimal runtime impact.

Overview
Fixes the workflow_dispatch release pipeline’s WinGet publish step by explicitly setting release-tag: ${{ needs.build.outputs.new_tag }} for both winget-releaser invocations, ensuring the action looks up the correct GitHub release.

Also bumps the locked dev dependency pyrefly from 0.51.0 to 0.51.1 in uv.lock (including updated artifacts/metadata).

Written by Cursor Bugbot for commit f945d00. This will update automatically on new commits. Configure here.

The winget-releaser action defaults release-tag to
github.event.release.tag_name, which is empty for workflow_dispatch
triggers. This caused the action to fall back to the branch name 'main',
resulting in a 404 when looking up the release.

Set release-tag to the actual version tag from the build job output.
@adamtheturtle adamtheturtle enabled auto-merge (squash) February 7, 2026 06:38
@adamtheturtle adamtheturtle merged commit 641f48f into main Feb 7, 2026
12 checks passed
@adamtheturtle adamtheturtle deleted the fix-winget-release-tag branch February 7, 2026 06:41
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.

1 participant