Skip to content

Fix getVersion prerelease collision by fetching semantic-release notes refs - #1477

Draft
equinoy with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-getversion-failing-job
Draft

equinoy with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-getversion-failing-job

Conversation

Copilot AI commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

getVersion / GetVersionNumber was failing in Actions because semantic-release attempted to create a prerelease tag that already existed (v3.0.0-feat-matrix-routing-videosync-status.1). The job had tag refs but not semantic-release note refs, so prerelease state was computed from incomplete metadata.

  • Root cause

    • semantic-release version calculation ran without refs/notes/*, so prior prerelease notes were not visible.
    • Result: next version resolved to an already-existing prerelease tag, and git tag failed.
  • Change

    • Updated .releaserc.json (@semantic-release/exec) to fetch notes refs during verifyConditions, before release/version resolution.
  • Config delta

    {
      "verifyConditionsCmd": "git fetch origin '+refs/notes/*:refs/notes/*'"
    }

Co-authored-by: equinoy <153123103+equinoy@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job getVersion / GetVersionNumber Fix getVersion prerelease collision by fetching semantic-release notes refs Sep 3, 2026
Copilot AI requested a review from equinoy September 3, 2026 19:00

This branch has not been deployed

No deployments
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.

2 participants