Skip to content

Fix releaser tag creation#62522

Merged
jakebailey merged 1 commit intomicrosoft:mainfrom
jakebailey:fix-releaser
Oct 1, 2025
Merged

Fix releaser tag creation#62522
jakebailey merged 1 commit intomicrosoft:mainfrom
jakebailey:fix-releaser

Conversation

@jakebailey
Copy link
Copy Markdown
Member

When I moved the releaser, I did not specify the target of the release it creates, so it was just pointing to main each time. 😦

Read the package and then tag the gitHead we place in package.json.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where GitHub releases were being tagged against the main branch instead of the correct commit hash. The fix ensures that releases are properly tagged against the specific commit that was used to build the package.

  • Extracts the git commit hash from the published package's package.json file
  • Uses this commit hash as the target for GitHub release creation
  • Adds Node.js tooling to support reading the package metadata

@github-project-automation github-project-automation bot moved this from Not started to Needs merge in PR Backlog Oct 1, 2025
@jakebailey jakebailey merged commit 837e3a1 into microsoft:main Oct 1, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Oct 1, 2025
@jakebailey jakebailey deleted the fix-releaser branch October 1, 2025 20:41
@microsoft microsoft locked as resolved and limited conversation to collaborators Apr 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

5 participants