Skip to content

Commit

Permalink
Update buildsolution.yml
Browse files Browse the repository at this point in the history
updating for combability with githubactions solution packager
  • Loading branch information
seanmcne authored Aug 26, 2024
1 parent 9b1ac88 commit 5f36f51
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/buildsolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ jobs:
$xml.Load($path)
Write-Verbose "Writting XML: NewVersion $NewVersion"
$xml.ImportExportXml.SolutionManifest.Version = $NewVersion
Write-Verbose "Writting XML: SolutionPackageVersion $($Env:SolutionPackageVersion)"
$xml.ImportExportXml.SolutionPackageVersion = $Env:SolutionPackageVersion
Write-Verbose "Writting XML: ImportExportXmlVersion $($NewVersion)"
$xml.ImportExportXml.version = $NewVersion
$xml.ImportExportXml
#this should be updated by solution packager but it isn't working - default to 8.0
#Write-Verbose "Writting XML: SolutionPackageVersion $($Env:SolutionPackageVersion)"
#$xml.ImportExportXml.SolutionPackageVersion = $Env:SolutionPackageVersion
#this should be updated by solution packager but it isn't working - default to 8.0.0.0
#Write-Verbose "Writting XML: ImportExportXmlVersion $($NewVersion)"
#$xml.ImportExportXml.version = $NewVersion
#$xml.ImportExportXml
$xml.Save($path)
Write-Host "Version $NewVersion applied to Solution.xml"
- name: Install Power Platform Tools
Expand Down

0 comments on commit 5f36f51

Please sign in to comment.