From 102185864a22b466d75c75d43840d69ff8c8702b Mon Sep 17 00:00:00 2001 From: Jojo Aquino Date: Mon, 21 Apr 2025 08:12:07 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6eb2b06..991757b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -34,7 +34,7 @@ stages: Write-Host "BUILD_SOURCEBRANCH = $env:BUILD_SOURCEBRANCH" Write-Host "BUILD_REPOSITORY_NAME = $env:BUILD_REPOSITORY_NAME" git fetch origin "$(Build.SourceBranchName)" main - $diffResult = git diff --name-only origin/$(Build.Repository.DefaultBranch)...HEAD + $diffResult = git diff --name-only origin/main...HEAD $folderFound = $false if ([string]::IsNullOrWhiteSpace($diffResult)) { Write-Host "No diff results found."