From 08bffc167794b0e728d7f0879ea867947f7588cc Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Mon, 14 Apr 2025 12:22:20 +1200 Subject: [PATCH 1/2] Fix: Add distinct set-commits release options Add `SentrySetCommitReleaseOptions` to Sentry.targets that can be configured independently of `SentryReleaseOptions`, since it's possible for these to be conflicting. Fixes https://github.com/getsentry/sentry-dotnet/issues/4108 --- src/Sentry/buildTransitive/Sentry.targets | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Sentry/buildTransitive/Sentry.targets b/src/Sentry/buildTransitive/Sentry.targets index 790ed2aa1e..ef9110da65 100644 --- a/src/Sentry/buildTransitive/Sentry.targets +++ b/src/Sentry/buildTransitive/Sentry.targets @@ -104,7 +104,10 @@ $(SentryReleaseOptions) --org $(SentryOrg) $(SentryReleaseOptions) --project $(SentryProject) + --auto + $(SentrySetCommitReleaseOptions) --org $(SentryOrg) + $(SentrySetCommitReleaseOptions) --project $(SentryProject) $(SentryCLIUploadOptions) --org $(SentryOrg) $(SentryCLIUploadOptions) --project $(SentryProject) @@ -350,7 +353,7 @@ Condition="'$(SentryCLI)' != '' and '$(SentrySetCommits)' == 'true'"> From a6a32f49c46852fba7a9f15f21755d032614d761 Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Mon, 14 Apr 2025 12:26:05 +1200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6986a39fa7..930eca1ce5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Fixes + +- Added a `SentrySetCommitReleaseOptions` build property that can be specified separately from `SentryReleaseOptions` ([#4109](https://github.com/getsentry/sentry-dotnet/pull/4109)) + ## 5.5.1 ### Fixes