Open bruno-garcia opened 5 months ago
Source Link included in the .NET SDK for version 8.0 and later.
Prerequisites for .NET projects:
The following features are not available in projects that do not import Microsoft.NET.Sdk:
- Automatic inclusion of commit SHA in AssemblyInformationalVersionAttribute.
sentry-cli
is bundled in the SDK adn invoked via msbuildThe ticket was resolved but 2 items were not completed:
But we don't upload any commit information. This would be helpful when doing a CI run for publishing a new version. For example:
Associating commits allows Sentry to link to source code at the correct commit sha.![image](https://github.com/getsentry/sentry-dotnet/assets/1633368/caa27b44-6627-4ecc-9972-03bf1f33511f)
As well as suggest suspect commits, and other features.
If we can land this on 4.0.0 we could default to making this call when msbuild
publish
target is running