From 6daa653ab3f06e115ef50933ee0fe416a2720e1f Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 10 Jun 2023 21:11:05 -0400 Subject: [PATCH] fix(packaging): don't use letters in msix version Signed-off-by: seth --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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