mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2026-01-05 06:11:49 +03:00
Follow-up to https://github.com/godotengine/build-containers/pull/128. Also reverts #88 since these new images include JDK 17, and the closure compiler issue was fixed upstream. And removes the manual install of gettext which is now also part of the images. X11 libs should not be needed to generate the Mono glue anymore (they've been unnecessary for a while already).
19 lines
714 B
Bash
19 lines
714 B
Bash
#/bin/bash
|
|
|
|
basedir="$(pwd)"
|
|
|
|
if [ ! -d "${basedir}/deps/keystore" ]; then
|
|
echo "Couldn't find ${basedir}/deps/keystore. Make sure to run this from the root folder of the Git repository."
|
|
fi
|
|
|
|
source ${basedir}/deps/keystore/config.sh
|
|
|
|
# Release the Godot Android library to MavenCentral
|
|
${PODMAN} run -it --rm \
|
|
-v ${basedir}/out/android/source:/root/godot -v ${basedir}/deps/keystore:/root/keystore \
|
|
localhost/godot-android:${IMAGE_VERSION} bash -c \
|
|
"source /root/keystore/config.sh && \
|
|
cp -r /root/godot/.gradle /root && \
|
|
cd /root/godot/platform/android/java && \
|
|
./gradlew publishTemplateReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository"
|