fix(actions): limit msix version suffix to 3 numbers

good thing i got an unlucky commit hash :p

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth 2023-06-10 22:20:37 -04:00
parent 0df38008a1
commit 1c66c4ed82
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -441,7 +441,7 @@ jobs:
Set-Location ${{ env.INSTALL_DIR }} Set-Location ${{ env.INSTALL_DIR }}
# MSIX only allows numbers in their versions, # MSIX only allows numbers in their versions,
# so we need to sacrifice a bit of verbosity # so we need to sacrifice a bit of verbosity
$commitNumbers = "${{ env.VERSION }}" -replace "[^0-9]", "" $commitNumbers = ("${{ env.VERSION }}" -replace "[^0-9]", "").Substring(0, 3)
$version = "7.0.0.$commitNumbers" $version = "7.0.0.$commitNumbers"
Copy-Item ${{ github.workspace }}\program_info\prismlauncher_*x*.png . Copy-Item ${{ github.workspace }}\program_info\prismlauncher_*x*.png .