Skip to content

Commit 15c1c38

Browse files
committed
Update azure-pipelines.yml
1 parent 9d0ae0b commit 15c1c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ jobs:
227227
Write-Host("Branch = $buildSourceBranch, Version = $tagVersion");
228228
Write-Host ("##vso[task.setvariable variable=NugetPackageVersion;]$tagVersion")
229229
displayName: Set NuGet Version to Tag Number
230-
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
230+
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
231231
# restore, build and pack the packages
232232
- task: CmdLine@2
233233
displayName: 'Build Xamarin.CommunityToolkit.MauiCompat.csproj'

0 commit comments

Comments
 (0)