ci: harden tag-ref detection for workflow_dispatch canonical releases #132
No reviewers
Labels
No labels
Kind/Bug
Kind/Feature
Priority/High
Priority/Medium
Reviewed/Confirmed
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer!132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.2.0/fix-ref-name-trim-tags-prefix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
windows-release.yml's PowerShell branch/isMainresolution was silently falling through to the dev/prerelease naming path for every tag-dispatched build, confirmed by a live run publishingdev-v0.1.39instead ofv0.1.39despite the ref-matching fix from #130.github.sha/github.ref_nameand strip arefs/tags/prefix in addition torefs/heads/before the$isMainregex check.refs/tags/stripping inlinux-appimage.ymlfor consistency (its bash equivalent was working correctly, but the same defensive trim is cheap insurance).Why
Following up on #130: that PR added
vX.Y.Z-tag-dispatch as a canonical-release path, and it works correctly forlinux-appimage.yml, butwindows-release.ymlkept publishing underdev-{branch}naming for every tag dispatch, blocking the historical-release backfill for several 0.1.x versions' Windows artifact.Test plan
windows-release.ymlagainst an existing tag and confirm it publishes to the canonicalvX.Y.Zrelease, notdev-vX.Y.Z.