Skip to content

Handle missing release tags correctly - #64887

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:correct-release-tag-lookup
Oct 21, 2026
Merged

Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:correct-release-tag-lookup

Conversation

@jakebailey

Copy link
Copy Markdown
Member

GitHub returns an error body when a tag does not exist. Treating that body as a commit SHA prevents the publisher from creating new release tags.

Fix that for future releases.

GitHub returns an error body when a tag does not exist. Treating that
body as a commit SHA prevents the publisher from creating new release
tags.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused change handles absent tags correctly while preserving exact-match validation and API error reporting.

No open issues 🎉

What changed in this PR

Fixes release-tag lookup so missing tags no longer prevent the publisher from creating them.

Changes:

  • Uses GitHub’s matching-refs endpoint with exact tag filtering.
  • Removes error suppression so genuine API failures remain visible.
File Description
tools/​pipelines/​typescript-publish.yml Corrects missing-tag handling in the release publisher.

Review effort: Balanced

@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Oct 21, 2026
@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Oct 21, 2026
Merged via the queue into microsoft:main with commit 538671d Oct 21, 2026
29 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the correct-release-tag-lookup branch October 21, 2026 00:38
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants