From 91fd4e7071f2070071adc28e0b0fb0a4b0623113 Mon Sep 17 00:00:00 2001 From: nek0der Date: Sat, 24 Jan 2026 23:03:01 +0900 Subject: [PATCH 1/2] Fix: Update Package.appxmanifest version dynamically in release workflow --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dcab203..31f5db2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,22 @@ jobs: # Export public certificate for users Export-Certificate -Cert "Cert:\CurrentUser\My\$($cert.Thumbprint)" -FilePath CodexBarWin.cer + - name: Update Package.appxmanifest version + shell: pwsh + run: | + $version = "${{ github.ref_name }}" -replace '^v', '' + $versionParts = $version.Split('.') + while ($versionParts.Count -lt 4) { $versionParts += "0" } + $appxVersion = $versionParts -join '.' + Write-Host "Setting version to: $appxVersion" + + # Update Package.appxmanifest + $manifestPath = "Package.appxmanifest" + $content = Get-Content $manifestPath -Raw + $content = $content -replace 'Version="[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"', "Version=`"$appxVersion`"" + Set-Content $manifestPath $content -NoNewline + Write-Host "Updated Package.appxmanifest with version $appxVersion" + - name: Build MSIX package shell: pwsh run: | From 6d57d43a0c2286f124ac6f073ceb65da2db19e9e Mon Sep 17 00:00:00 2001 From: nek0der Date: Sat, 24 Jan 2026 23:19:04 +0900 Subject: [PATCH 2/2] Fix: Remove paths filter from license check to ensure it runs on all PRs --- .github/workflows/licenses.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml index 63527fc..a9065ba 100644 --- a/.github/workflows/licenses.yml +++ b/.github/workflows/licenses.yml @@ -3,14 +3,8 @@ name: License Check on: push: branches: [main] - paths: - - '**/*.csproj' - - '**/packages.lock.json' pull_request: branches: [main] - paths: - - '**/*.csproj' - - '**/packages.lock.json' workflow_dispatch: env: