File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ if [ "${CLASSICAL}" == "1" ]; then
4040 cp bin/android_source.zip /root/out/templates
4141 cp bin/android_debug.apk /root/out/templates/android_debug.apk
4242 cp bin/android_release.apk /root/out/templates/android_release.apk
43+ cp bin/godot-lib.release.aar /root/out/templates/godot-lib.release.aar
4344fi
4445
4546# Mono
@@ -71,6 +72,7 @@ if [ "${MONO}" == "1" ]; then
7172 cp bin/android_source.zip /root/out/templates-mono
7273 cp bin/android_debug.apk /root/out/templates-mono/android_debug.apk
7374 cp bin/android_release.apk /root/out/templates-mono/android_release.apk
75+ cp bin/godot-lib.release.aar /root/out/templates-mono/godot-lib.release.aar
7476
7577 mkdir -p /root/out/templates-mono/bcl
7678 cp -r /root/mono-installs/android-bcl/* /root/out/templates-mono/bcl/
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ export templatesdir="${tmpdir}/templates"
6767export templatesdir_mono=" ${tmpdir} /mono/templates"
6868
6969export godot_basename=" Godot_v${godot_version} "
70+ export godot_version_number=$( echo ${godot_basename} | grep -Po ' \d+\.\d+(\.\d+)?' )
7071
7172# Cleanup and setup
7273
@@ -178,6 +179,9 @@ if [ "${build_classical}" == "1" ]; then
178179
179180 # # Android (Classical) ##
180181
182+ # Lib for direct download
183+ cp out/android/templates/godot-lib.release.aar ${reldir} /godot-lib.${godot_version_number} .release.aar
184+
181185 # Templates
182186 cp out/android/templates/* .apk ${templatesdir} /
183187 cp out/android/templates/android_source.zip ${templatesdir} /
@@ -380,6 +384,9 @@ if [ "${build_mono}" == "1" ]; then
380384
381385 # # Android (Mono) ##
382386
387+ # Lib for direct download
388+ cp out/android/templates-mono/godot-lib.release.aar ${reldir_mono} /godot-lib.${godot_version_number} .release.aar
389+
383390 # Templates
384391 cp out/android/templates-mono/* .apk ${templatesdir_mono} /
385392 cp out/android/templates-mono/android_source.zip ${templatesdir_mono} /
You can’t perform that action at this time.
0 commit comments