sentry-dotnet
sentry-dotnet copied to clipboard
Allow uploading commits through `set-commits`
sentry-cli
is bundled in the SDK adn invoked via msbuild
- https://github.com/getsentry/sentry-dotnet/issues/2074
The ticket was resolved but 2 items were not completed:
- Uploading commit info, to unlock suspect commits
- Uploading release details, to enable features like Release Health, resolving issue by release and "First seeing in Release X".
But we don't upload any commit information. This would be helpful when doing a CI run for publishing a new version. For example:
dotnet publish -c Release /p:SentrySetCommits
Associating commits allows Sentry to link to source code at the correct commit sha.
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
Sentry CLI support
Source Link capabilities out of the box with .NET 8+
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.