Skip to content

Commit

Permalink
build: Windowsのengine_manifest.json.exeを追加する (#1545)
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
  • Loading branch information
sabonerune and Hiroshiba authored Mar 7, 2025
1 parent 0419522 commit d077fcd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-engine-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,11 @@ jobs:
run: |
set -eux
jq '.version = "${{ needs.config.outputs.version_or_latest }}"' engine_manifest.json > engine_manifest.json.tmp
jq '
.version = "${{ needs.config.outputs.version_or_latest }}" |
if ${{ startsWith(matrix.os, 'windows-') }} then .command += ".exe" else . end
' engine_manifest.json > engine_manifest.json.tmp
mv -f engine_manifest.json.tmp engine_manifest.json
# Replace version & specify dynamic libraries
Expand Down
3 changes: 3 additions & 0 deletions tools/check_release_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import argparse
import json
import shlex
import time
from io import BytesIO
from pathlib import Path
Expand All @@ -29,6 +30,8 @@ def test_release_build(
assert manifest_file.is_file()
manifest = json.loads(manifest_file.read_text(encoding="utf-8"))
assert "manifest_version" in manifest
command_filename = shlex.split(manifest["command"])[0]
assert (dist_dir / command_filename).exists()

# 起動
process = None
Expand Down

0 comments on commit d077fcd

Please sign in to comment.