mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2025-12-31 05:48:35 +03:00
0780ea4a4f611b9370f40f36c5134a227017b55b
Add environment variables to sign the release build for the Godot Android editor and to publish the library to MavenCentral. If the environment vars are not defined, we do a simple unsigned `release_debug` build for the Android editor. Change `config.sh.in` template to use single quotes by default, to prevent expanding special characters in environment variables. To publish to MavenCentral, a new `build-android/upload-mavencentral.sh` script is added. It needs to run after the build using gradle, but we still want it to be optional and used only when making an official release, so we copy the compiled sources in the first step. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Godot in-container build scripts
Build scripts used for official Godot Engine releases using containers built from https://github.com/godotengine/build-containers
Disclaimer
This repository is not intended for end users, and thus not supported. It's only public as a way to document our build workflow, and for anyone to use as reference for their own buildsystems.
We will eventually release a public build script that integrates all this in a simple and user-friendly interface.
Usage
- Build containers using https://github.com/godotengine/build-containers
- Copy
config.sh.inasconfig.shand configure it as you want. - Edit
build.shto properly reference those containers if local, or useconfig.shto point to your own registry if you uploaded containers. - Build with
build.sh(check--helpfor usage). - Package binaries with
build-release.sh(check--helpfor usage).
Example that builds Godot 3.2-stable Classical (not Mono):
./build.sh -v 3.2-stable -g 3.2-stable -b classical
./build-release.sh -v 3.2-stable -t 3.2.stable -b classical
Again, this is intended for release managers and usability is not the main focus. Tweak the build scripts to match your own requirements if you want to use this until we provide a better, user-friendly interface.
Description
Build scripts used for official Godot Engine builds with https://github.com/godotengine/build-containers
Languages
Shell
95.8%
Python
4.2%