From 4314a990555a27388659559ff6dc2fe3b892c625 Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Tue, 30 Jul 2024 16:15:38 +1200 Subject: [PATCH 1/2] Added docs on SentryCreateRelease and SentrySetCommits --- .../dotnet/common/configuration/msbuild.mdx | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/platforms/dotnet/common/configuration/msbuild.mdx b/docs/platforms/dotnet/common/configuration/msbuild.mdx index 9fac3ce2b34fa9..eee485e5079ae5 100644 --- a/docs/platforms/dotnet/common/configuration/msbuild.mdx +++ b/docs/platforms/dotnet/common/configuration/msbuild.mdx @@ -100,6 +100,15 @@ if you only want these features enabled in a GitHub Actions CI workflow, you cou Enable the features you wish to use. --> + + true + + + true + + + --local + true @@ -155,6 +164,30 @@ The URL to your Sentry server. Required only if self-hosting Sentry. (Do not use There are a few additional properties available to control the Sentry CLI: + + +Enable to automatically create release when building your application. Defaults to `false` (disabled). + +Sentry will try to determine the release version automatically by checking the following sources in order: +1. The `SENTRY_RELEASE` environment variable, if set +2. The `AssemblyInformationalVersionAttribute`, if defined +3. The version of the entry assembly for the project +4. The version suggested by running `sentry-cli releases propose-version` + + + + + +Enable `SentrySetCommits` to automatically [associate commits with the release](https://docs.sentry.io/cli/releases/#commit-integration). + + + + + +By default. when `SentrySetCommits` is enabled, the SDK will set commits with the `--auto` flag. The optional `SentrySetCommitOptions` property allows you to override this to provide whatever flags you want to the `set-commits` CLI command. + + + Controls uploading symbols to Sentry during the build. Defaults to `false` (disabled). From 4bcbc09c61c254580c9589b8e4807ce4aa0f8dbb Mon Sep 17 00:00:00 2001 From: Stefan Jandl Date: Wed, 31 Jul 2024 14:07:56 +0200 Subject: [PATCH 2/2] Update docs/platforms/dotnet/common/configuration/msbuild.mdx --- docs/platforms/dotnet/common/configuration/msbuild.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/dotnet/common/configuration/msbuild.mdx b/docs/platforms/dotnet/common/configuration/msbuild.mdx index eee485e5079ae5..992a5d3c647cea 100644 --- a/docs/platforms/dotnet/common/configuration/msbuild.mdx +++ b/docs/platforms/dotnet/common/configuration/msbuild.mdx @@ -184,7 +184,7 @@ Enable `SentrySetCommits` to automatically [associate commits with the release]( -By default. when `SentrySetCommits` is enabled, the SDK will set commits with the `--auto` flag. The optional `SentrySetCommitOptions` property allows you to override this to provide whatever flags you want to the `set-commits` CLI command. +By default, when `SentrySetCommits` is enabled, the SDK will set commits with the `--auto` flag. The optional `SentrySetCommitOptions` property allows you to override this to provide whatever flags you want to the `set-commits` CLI command.