We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a05069 commit 8bd7e48Copy full SHA for 8bd7e48
1 file changed
azure-pipelines.yml
@@ -45,6 +45,8 @@ steps:
45
$assemblyPath = Join-Path -Path $(Build.SourcesDirectory) -ChildPath "AccUnit\bin\Release\AccUnit.dll"
46
$assembly = [System.Reflection.Assembly]::LoadFile($assemblyPath)
47
$version = $assembly.GetName().Version.ToString()
48
+ $parts = $version.Split('.')
49
+ $version = "$($parts[0]).$($parts[1]).$($parts[2])"
50
Write-Host "##vso[task.setvariable variable=dllVersion]$version"
51
52
- task: PublishBuildArtifacts@1
0 commit comments