fix(packaging): don't use letters in msix version
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
a37f1dd69d
commit
6daa653ab3
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user