From 1c66c4ed824c3600c8e783518c14fa49f3fa8d95 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 10 Jun 2023 22:20:37 -0400 Subject: [PATCH] fix(actions): limit msix version suffix to 3 numbers good thing i got an unlucky commit hash :p Signed-off-by: seth --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 365376b5e..1b0a27734 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -441,7 +441,7 @@ jobs: 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]", "" + $commitNumbers = ("${{ env.VERSION }}" -replace "[^0-9]", "").Substring(0, 3) $version = "7.0.0.$commitNumbers" Copy-Item ${{ github.workspace }}\program_info\prismlauncher_*x*.png .