Prepare v2.3 release workflow
This commit is contained in:
@@ -84,7 +84,7 @@ jobs:
|
|||||||
Get-Item $zip | Format-List Name,Length,LastWriteTime
|
Get-Item $zip | Format-List Name,Length,LastWriteTime
|
||||||
|
|
||||||
- name: Upload test artifact
|
- name: Upload test artifact
|
||||||
if: ${{ !startsWith(github.ref, 'refs/tags/') && !(github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.2') }}
|
if: ${{ !startsWith(github.ref, 'refs/tags/') && !(github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.3') }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: WoW_Modernization_Tool-test
|
name: WoW_Modernization_Tool-test
|
||||||
@@ -93,20 +93,20 @@ jobs:
|
|||||||
dist/WoW_Modernization_Tool.zip
|
dist/WoW_Modernization_Tool.zip
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
# One-time production promotion for v2.2. The exact commit message keeps
|
# One-time production promotion for v2.3. The exact commit message keeps
|
||||||
# normal main pushes from publishing or modifying the v2.2 release.
|
# normal main pushes from publishing or modifying the v2.3 release.
|
||||||
- name: Create GitHub Release v2.2
|
- name: Create GitHub Release v2.3
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.2' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.3' }}
|
||||||
uses: softprops/action-gh-release@v3
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
tag_name: v2.2
|
tag_name: v2.3
|
||||||
target_commitish: ${{ github.sha }}
|
target_commitish: ${{ github.sha }}
|
||||||
files: |
|
files: |
|
||||||
dist/WoW_Modernization_Tool.exe
|
dist/WoW_Modernization_Tool.exe
|
||||||
dist/WoW_Modernization_Tool.zip
|
dist/WoW_Modernization_Tool.zip
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
overwrite_files: true
|
overwrite_files: true
|
||||||
name: "WoW Modernization Tool v2.2"
|
name: "WoW Modernization Tool v2.3"
|
||||||
body_path: RELEASE_NOTES.md
|
body_path: RELEASE_NOTES.md
|
||||||
generate_release_notes: false
|
generate_release_notes: false
|
||||||
make_latest: true
|
make_latest: true
|
||||||
|
|||||||
Reference in New Issue
Block a user