Fix copy of android archive for upload.

This commit is contained in:
Matthieu Gautier 2019-08-21 17:56:57 +02:00
parent 7508846808
commit ecb3befd23
1 changed files with 2 additions and 2 deletions

View File

@ -488,9 +488,9 @@ elif PLATFORM == 'android' and 'kiwix-lib-app' in TARGETS:
output_release_dir = HOME/'BUILD_android'/'kiwix-lib-app'/'kiwixLibAndroid'/'build'/'outputs' output_release_dir = HOME/'BUILD_android'/'kiwix-lib-app'/'kiwixLibAndroid'/'build'/'outputs'
shutil.copy(str(output_release_dir/'aar'/'kiwixLibAndroid-release.aar'), shutil.copy(str(output_release_dir/'aar'/'kiwixLibAndroid-release.aar'),
str(BINTRAY_ARCHIVES_DIR/basename+'.aar')) str(BINTRAY_ARCHIVES_DIR/(basename+'.aar')))
shutil.copy(str(output_release_dir/'pom.xml'), shutil.copy(str(output_release_dir/'pom.xml'),
str(BINTRAY_ARCHIVES_DIR/basename+'.pom')) str(BINTRAY_ARCHIVES_DIR/(basename+'.pom')))
json_filename = '{}_bintray_info.json'.format(basename) json_filename = '{}_bintray_info.json'.format(basename)