Skip to content

Commit f565040

Browse files
author
Evans Aboge (from Dev Box)
committed
Get version from Directory.Build.props
1 parent 94fd495 commit f565040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ steps:
4242
az acr login --name msgraphpperegistry
4343
4444
- powershell: |
45-
$content = [XML](Get-Content ./src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj)
45+
$content = [XML](Get-Content ./Directory.Build.props)
4646
$version = $content.Project.PropertyGroup.Version
4747
Write-Host "Version found: $version"
4848
Write-Host "##vso[task.setvariable variable=version;isoutput=true]$version"

0 commit comments

Comments
 (0)