Skip to content

Commit

Permalink
make version reading more robust in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Nov 20, 2024
1 parent 01d9ff7 commit 4f8847b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
Write-Output "Product Configuration: $productConfig"
$buildPropsXml = [xml](Get-Content Directory.Build.props)
$versionPrefix = $($buildPropsXml.Project.PropertyGroup.VersionPrefix)[1].Trim()
$versionPrefix = $buildPropsXml.SelectSingleNode('//Project/PropertyGroup/VersionPrefix/text()').Value.Trim()
Write-Output "product_version_prefix=$versionPrefix" >> $env:GITHUB_OUTPUT
Write-Output "Product Version Prefix: $versionPrefix"
Expand Down

0 comments on commit 4f8847b

Please sign in to comment.