Skip to content
Snippets Groups Projects
Commit 7d8ff4b9 authored by Martin Finkel's avatar Martin Finkel
Browse files

cake changes

parent e5a52de1
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ Task("Publish")
bool IsPrBuild()
{
if(!BuildSystem.IsRunningOnAzurePipelines && !BuildSystem.IsRunningOnAzurePipelinesHosted) return false;
if(!BuildSystem.AzurePipelines.IsRunningOnAzurePipelines) return false;
return BuildSystem.AzurePipelines.Environment.PullRequest.Number > 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment