Skip to content

Conversation

jakebailey
Copy link
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

@Copilot 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
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