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 .