Skip to content

Commit 8bd7e48

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 0a05069 commit 8bd7e48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ steps:
4545
$assemblyPath = Join-Path -Path $(Build.SourcesDirectory) -ChildPath "AccUnit\bin\Release\AccUnit.dll"
4646
$assembly = [System.Reflection.Assembly]::LoadFile($assemblyPath)
4747
$version = $assembly.GetName().Version.ToString()
48+
$parts = $version.Split('.')
49+
$version = "$($parts[0]).$($parts[1]).$($parts[2])"
4850
Write-Host "##vso[task.setvariable variable=dllVersion]$version"
4951
5052
- task: PublishBuildArtifacts@1

0 commit comments

Comments
 (0)