Skip to content

Conversation

BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Jul 30, 2025

See dotnet/dotnet#1572

Microsoft Reviewers: Open in CodeFlow

@BrennanConroy BrennanConroy requested a review from a team as a code owner July 30, 2025 18:44
Copy link
Contributor

@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 adds assembly metadata to include the original repository commit hash in compiled assemblies. This enables tracking of the source code revision that was used to build the assembly, which is useful for debugging and provenance tracking.

  • Adds a new AssemblyMetadataAttribute with "OriginalRepoCommitHash" key when RepoOriginalSourceRevisionId is available
  • The metadata is conditionally included only when the RepoOriginalSourceRevisionId MSBuild property is set

@BrennanConroy BrennanConroy merged commit 55f44e8 into main Jul 31, 2025
7 checks passed
@BrennanConroy BrennanConroy deleted the BrennanConroy-patch-1 branch July 31, 2025 04:07
This was referenced Aug 14, 2025
This was referenced Aug 27, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants