Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit f892c5f

Browse files
authored
Update azure-pipelines.yml
1 parent 15c1c38 commit f892c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
# if this is a tagged build, then update the version number
224224
- powershell: |
225225
$buildSourceBranch = "$(Build.SourceBranch)"
226-
$tagVersion = "$buildSourceBranch.Substring($buildSourceBranch.LastIndexOf("/") + 1)-preview$(PreviewNumber)"
226+
$tagVersion = "$buildSourceBranch".Substring($buildSourceBranch.LastIndexOf("/") + 1)+"-preview$(PreviewNumber)"
227227
Write-Host("Branch = $buildSourceBranch, Version = $tagVersion");
228228
Write-Host ("##vso[task.setvariable variable=NugetPackageVersion;]$tagVersion")
229229
displayName: Set NuGet Version to Tag Number

0 commit comments

Comments
 (0)