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
40
40
cp bin/android_source.zip /root/out/templates
41
41
cp bin/android_debug.apk /root/out/templates/android_debug.apk
42
42
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
43
44
fi
44
45
45
46
# Mono
@@ -71,6 +72,7 @@ if [ "${MONO}" == "1" ]; then
71
72
cp bin/android_source.zip /root/out/templates-mono
72
73
cp bin/android_debug.apk /root/out/templates-mono/android_debug.apk
73
74
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
74
76
75
77
mkdir -p /root/out/templates-mono/bcl
76
78
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"
67
67
export templatesdir_mono=" ${tmpdir} /mono/templates"
68
68
69
69
export godot_basename=" Godot_v${godot_version} "
70
+ export godot_version_number=$( echo ${godot_basename} | grep -Po ' \d+\.\d+(\.\d+)?' )
70
71
71
72
# Cleanup and setup
72
73
@@ -178,6 +179,9 @@ if [ "${build_classical}" == "1" ]; then
178
179
179
180
# # Android (Classical) ##
180
181
182
+ # Lib for direct download
183
+ cp out/android/templates/godot-lib.release.aar ${reldir} /godot-lib.${godot_version_number} .release.aar
184
+
181
185
# Templates
182
186
cp out/android/templates/* .apk ${templatesdir} /
183
187
cp out/android/templates/android_source.zip ${templatesdir} /
@@ -380,6 +384,9 @@ if [ "${build_mono}" == "1" ]; then
380
384
381
385
# # Android (Mono) ##
382
386
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
+
383
390
# Templates
384
391
cp out/android/templates-mono/* .apk ${templatesdir_mono} /
385
392
cp out/android/templates-mono/android_source.zip ${templatesdir_mono} /
You can’t perform that action at this time.
0 commit comments