Skip to content

Commit

Permalink
Update scripts for Godot 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou committed Aug 22, 2024
1 parent 1aebe1c commit 1c5a406
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
docker build -t godot-debug-builder .
# `:z` suffix to volume path is required to fix permissions on host systems with SELinux enabled.
docker run --rm --volume "$PWD/bin/linux":/opt/artifacts:z godot-debug-builder sh -c '
git clone --branch="4.2.2-stable" --depth=1 https://github.com/godotengine/godot.git /opt/godot/
git clone --branch="4.3-stable" --depth=1 https://github.com/godotengine/godot.git /opt/godot/
cd /opt/godot/
scons platform=linuxbsd debug_symbols=yes progress=no optimize=speed_trace target=editor
scons platform=linuxbsd debug_symbols=yes progress=no optimize=speed_trace target=template_debug
Expand Down
2 changes: 1 addition & 1 deletion build_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IFS=$'\n\t'
cd "$(dirname "${BASH_SOURCE[0]}")"

rm -rf /tmp/godot
git clone --branch="4.2.2-stable" --depth=1 https://github.com/godotengine/godot.git /tmp/godot
git clone --branch="4.3-stable" --depth=1 https://github.com/godotengine/godot.git /tmp/godot

pushd /tmp/godot

Expand Down
2 changes: 1 addition & 1 deletion build_windows_editor.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Clean up old build directly in case the previous build was aborted.
rmdir /s /q %TEMP%\godot-debug-build-editor

git clone --branch="4.2.2-stable" --depth=1 https://github.com/godotengine/godot.git %TEMP%\godot-debug-build-editor
git clone --branch="4.3-stable" --depth=1 https://github.com/godotengine/godot.git %TEMP%\godot-debug-build-editor
pushd %TEMP%\godot-debug-build-editor
scons debug_symbols=yes progress=no optimize=speed_trace target=editor
popd
Expand Down
2 changes: 1 addition & 1 deletion build_windows_template_debug.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Clean up old build directly in case the previous build was aborted.
rmdir /s /q %TEMP%\godot-debug-build-template-debug

git clone --branch="4.2.2-stable" --depth=1 https://github.com/godotengine/godot.git %TEMP%\godot-debug-build-template-debug
git clone --branch="4.3-stable" --depth=1 https://github.com/godotengine/godot.git %TEMP%\godot-debug-build-template-debug
pushd %TEMP%\godot-debug-build-template-debug
scons debug_symbols=yes progress=no optimize=speed_trace target=template_debug
popd
Expand Down
2 changes: 1 addition & 1 deletion build_windows_template_release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Clean up old build directly in case the previous build was aborted.
rmdir /s /q %TEMP%\godot-debug-build-template-release

git clone --branch="4.2.2-stable" --depth=1 https://github.com/godotengine/godot.git %TEMP%\godot-debug-build-template-release
git clone --branch="4.3-stable" --depth=1 https://github.com/godotengine/godot.git %TEMP%\godot-debug-build-template-release
pushd %TEMP%\godot-debug-build-template-release
scons debug_symbols=yes progress=no optimize=speed_trace target=template_release
popd
Expand Down
2 changes: 1 addition & 1 deletion compress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"

# This script should be run after running both `build_linux.sh` and `build_windows.bat`.

GODOT_VERSION="4.2.2"
GODOT_VERSION="4.3"

# Run this `parallel` command in parallel with the one below.
parallel 7z a -mx9 "{}.zip" "{}" ::: {bin/linux/*.x86_64,bin/macos/*.app}
Expand Down

0 comments on commit 1c5a406

Please sign in to comment.