ci: treat vX.Y.Z tag dispatch as a canonical release #130
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!130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.2.0/release-tag-dispatch-canonical"
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
workflow_dispatchtriggered against a version tag (e.g.v0.1.5) now resolves the same way a push tomaindoes: canonicalvX.Y.Zrelease naming,prerelease=false.make_lateststaysfalsein the tag-dispatch case somainremains the only release ever marked "latest".VERSIONbump perAGENTS.md(confirmed via./scripts/check-version-bump.sh origin/main).Why
Needed to backfill historical 0.1.x releases with both Linux
.AppImageand Windows.exeartifacts without rewritingmain's history. Pushing a tag triggers nothing (ci.ymlonly listens to branch pushes), and dispatching against any non-mainref previously always produced adev-*prerelease regardless of the checked-outVERSIONfile. This lets us dispatch against a tag pointing at the exact historicalmaincommit for each version and get a correctly-named canonical release.Test plan
python3 -c "import yaml; yaml.safe_load(...)"on both edited workflow files — valid YAML../scripts/check-version-bump.sh origin/main— confirms no bump required.linux-appimage.ymlagainst an existing tag (e.g.v0.1.30) and confirm it updates releasev0.1.30(not adev-v0.1.30prerelease) withmake_latestunset.