diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa47ed199..3c0975cf6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -439,10 +439,14 @@ jobs: shell: pwsh run: | Set-Location ${{ env.INSTALL_DIR }} + # MSIX only allows numbers in their versions, + # so we need to sacrifice a bit of verbosity + $commitNumbers = "${{ env.VERSION }}" -replace "[^0-9]", "" + $version = "7.0.0.$commitNumbers" Copy-Item ${{ github.workspace }}\program_info\prismlauncher_*x*.png . (Get-Content ${{ github.workspace }}\program_info\AppxManifest.xml) ` - -replace "PRISM_VERSION_REPLACEME","${{ env.VERSION }}.0.0" ` + -replace "PRISM_VERSION_REPLACEME","$version" ` -replace "PRISM_ARCH_REPLACEME","${{ matrix.architecture }}" ` > .\AppxManifest.xml