mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[godot] Try to fix web template packing for Godot >= 4.3
This commit is contained in:
parent
03826796b6
commit
77ab726b3f
17
.github/workflows/spine-godot-v4.yml
vendored
17
.github/workflows/spine-godot-v4.yml
vendored
@ -391,9 +391,24 @@ jobs:
|
||||
aws s3 cp godot-editor-windows.zip s3://spine-godot/$BRANCH/$GODOT_TAG/
|
||||
aws s3 cp godot-editor-linux.zip s3://spine-godot/$BRANCH/$GODOT_TAG/
|
||||
aws s3 cp godot-editor-macos.zip s3://spine-godot/$BRANCH/$GODOT_TAG/
|
||||
|
||||
echo "$GODOT_VERSION" > version.txt
|
||||
# Extract the major and minor version from GODOT_VERSION
|
||||
GODOT_MAJOR_MINOR=$(echo "$GODOT_VERSION" | awk -F. '{print $1 "." $2}')
|
||||
|
||||
# Check if the version is >= 4.3
|
||||
if [[ $(echo "$GODOT_MAJOR_MINOR >= 4.3" | bc) -eq 1 ]]; then
|
||||
mv web_release.zip web_nothreads_release.zip
|
||||
mv web_debug.zip web_nothreads_debug.zip
|
||||
WEB_RELEASE_FILE="web_nothreads_release.zip"
|
||||
WEB_DEBUG_FILE="web_nothreads_debug.zip"
|
||||
else
|
||||
WEB_RELEASE_FILE="web_release.zip"
|
||||
WEB_DEBUG_FILE="web_debug.zip"
|
||||
fi
|
||||
|
||||
ls -lah
|
||||
zip spine-godot-templates-$BRANCH-$GODOT_TAG.zip ios.zip macos.zip windows_debug_x86_64.exe windows_release_x86_64.exe linux_debug.x86_64 linux_release.x86_64 web_debug.zip web_release.zip android_release.apk android_debug.apk android_source.zip version.txt
|
||||
zip spine-godot-templates-$BRANCH-$GODOT_TAG.zip ios.zip macos.zip windows_debug_x86_64.exe windows_release_x86_64.exe linux_debug.x86_64 linux_release.x86_64 "$WEB_DEBUG_FILE" "$WEB_RELEASE_FILE" android_release.apk android_debug.apk android_source.zip version.txt
|
||||
aws s3 cp spine-godot-templates-$BRANCH-$GODOT_TAG.zip s3://spine-godot/$BRANCH/$GODOT_TAG/spine-godot-templates-$BRANCH-$GODOT_TAG.tpz
|
||||
|
||||
upload-to-s3-mono:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user