Skip to content

Commit 4d8e6dc

Browse files
committed
Android: Include 'status' in AAR lib name
Follow-up to #6 (comment).
1 parent 7b2cf59 commit 4d8e6dc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build-release.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ export templatesdir="${tmpdir}/templates"
6767
export templatesdir_mono="${tmpdir}/mono/templates"
6868

6969
export godot_basename="Godot_v${godot_version}"
70-
export godot_version_number=$(echo ${godot_basename} | grep -Po '\d+\.\d+(\.\d+)?')
7170

7271
# Cleanup and setup
7372

@@ -180,7 +179,7 @@ if [ "${build_classical}" == "1" ]; then
180179
## Android (Classical) ##
181180

182181
# Lib for direct download
183-
cp out/android/templates/godot-lib.release.aar ${reldir}/godot-lib.${godot_version_number}.release.aar
182+
cp out/android/templates/godot-lib.release.aar ${reldir}/godot-lib.${templates_version}.release.aar
184183

185184
# Templates
186185
cp out/android/templates/*.apk ${templatesdir}/
@@ -385,7 +384,7 @@ if [ "${build_mono}" == "1" ]; then
385384
## Android (Mono) ##
386385

387386
# Lib for direct download
388-
cp out/android/templates-mono/godot-lib.release.aar ${reldir_mono}/godot-lib.${godot_version_number}.release.aar
387+
cp out/android/templates-mono/godot-lib.release.aar ${reldir_mono}/godot-lib.${templates_version}.release.aar
389388

390389
# Templates
391390
cp out/android/templates-mono/*.apk ${templatesdir_mono}/

0 commit comments

Comments
 (0)