Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/Sentry/buildTransitive/Sentry.targets
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
<SentryCLIDebugFilesUploadCommand Condition="'$(SentryCLIUploadOptions.Trim())' != ''">$(SentryCLIDebugFilesUploadCommand) $(SentryCLIUploadOptions.Trim())</SentryCLIDebugFilesUploadCommand>
<SentryCLIProGuardMappingUploadCommand>$(SentryCLIBaseCommand) upload-proguard $(_SentryCLIProGuardOptions)</SentryCLIProGuardMappingUploadCommand>
<SentryCLIProGuardMappingUploadCommand Condition="'$(SentryCLIUploadOptions.Trim())' != ''">$(SentryCLIProGuardMappingUploadCommand) $(SentryCLIUploadOptions.Trim())</SentryCLIProGuardMappingUploadCommand>

<SentryAllowFailure Condition="'$(SENTRY_ALLOW_FAILURE)' == 'true'">true</SentryAllowFailure>
</PropertyGroup>

<PropertyGroup Condition="'$(SentryCLI)' != ''">
Expand All @@ -141,7 +143,7 @@
<Output TaskParameter="ConsoleOutput" PropertyName="_SentryCLIOutput" />
</Exec>

<PropertyGroup Condition="'$(_SentryCLIExitCode)' != '0'">
<PropertyGroup Condition="'$(_SentryCLIExitCode)' != '0' and '$(SentryAllowFailure)' != 'true'">
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
<_SentryCLIRequestFailed Condition="$(_SentryCLIOutput.Contains('API request failed'))">true</_SentryCLIRequestFailed>
</PropertyGroup>
<Warning Condition="'$(_SentryCLIRequestFailed)' != ''"
Expand Down Expand Up @@ -360,7 +362,9 @@
</SentryGetApplicationVersion>

<Exec ConsoleToMSBuild="true" Condition="'$(_SentryRelease)' == ''"
Command="sentry-cli releases propose-version">
Command="sentry-cli releases propose-version"
IgnoreExitCode="'$(SENTRY_ALLOW_FAILURE)' == 'true'"
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
Comment thread
DanielMcAssey marked this conversation as resolved.
Outdated
ContinueOnError="WarnAndContinue">
Comment thread
sentry[bot] marked this conversation as resolved.
Outdated
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
<Output TaskParameter="ConsoleOutput" PropertyName="_SentryRelease"/>
</Exec>
Comment thread
sentry[bot] marked this conversation as resolved.

Expand Down