mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-10-12 00:45:45 +00:00
The release job moves the rolling v1 tag to the release commit. The update-action-version job then pins action.yml to the new image in a later commit. So v1 always pointed at a commit that pinned the previous image, and "@v1" users ran the previous release. The job now checks out the released commit, pushes the pin commit with "git push origin HEAD:main", and moves v1 onto it after that push succeeds. If main moved during the release, the push fails and v1 stays where it is. The job runs only for main, and a concurrency group queues overlapping release runs. Claude-Session: https://claude.ai/code/session_01Qq1gbqQek1Zjtofo4VDRdW