mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Print response content in case we cannot upload artifact to bintray.
This commit is contained in:
@ -48,6 +48,7 @@ def upload(version, filepath, artefact):
|
||||
rcode_family = rcode // 100
|
||||
if rcode_family not in (2, 3):
|
||||
print("ERROR: Fail to upload artefact")
|
||||
print(r.text)
|
||||
return False
|
||||
|
||||
return True
|
||||
|
@ -83,6 +83,7 @@ then
|
||||
fi
|
||||
)
|
||||
|
||||
ls $BINTRAY_ARCHIVES_DIR
|
||||
BINTRAY_ARCHIVES=$(find $BINTRAY_ARCHIVES_DIR -name "*_bintray_info.json" -type f)
|
||||
if [[ "x$BINTRAY_ARCHIVES" != "x" ]]
|
||||
then
|
||||
|
Reference in New Issue
Block a user