From ef41957f11fd9cbebecfa0d0cf803f66d2cf9240 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Wed, 2 Sep 2026 15:56:49 +0200 Subject: [PATCH] Prepare Modernization Tool v2.2 workflow --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 642e6df..8c3e8ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,7 +81,7 @@ jobs: Get-Item $zip | Format-List Name,Length,LastWriteTime - name: Upload test artifact - if: ${{ !startsWith(github.ref, 'refs/tags/') && !(github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.1') }} + if: ${{ !startsWith(github.ref, 'refs/tags/') && !(github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.2') }} uses: actions/upload-artifact@v4 with: name: WoW_Modernization_Tool-test @@ -90,20 +90,20 @@ jobs: dist/WoW_Modernization_Tool.zip if-no-files-found: error - # One-time production promotion for v2.1. The exact commit message keeps - # normal main pushes from publishing or modifying the v2.1 release. - - name: Create GitHub Release v2.1 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.1' }} + # One-time production promotion for v2.2. The exact commit message keeps + # normal main pushes from publishing or modifying the v2.2 release. + - name: Create GitHub Release v2.2 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.2' }} uses: softprops/action-gh-release@v3 with: - tag_name: v2.1 + tag_name: v2.2 target_commitish: ${{ github.sha }} files: | dist/WoW_Modernization_Tool.exe dist/WoW_Modernization_Tool.zip fail_on_unmatched_files: true overwrite_files: true - name: "WoW Modernization Tool v2.1" + name: "WoW Modernization Tool v2.2" body_path: RELEASE_NOTES.md generate_release_notes: false make_latest: true