Skip to content

Commit

Permalink
Try to sleep to avoid s3cmd modify command failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 20, 2023
1 parent 71bde21 commit fd1ec4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/upload_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ then
echo "${S3CFG}" > ~/.s3cfg
s3cmd put --acl-public /tmp/${FILENAME_APK} s3://qfieldapks/ci-builds/${FILENAME_APK}
echo -e "\e[31mUploaded to https://sos-ch-dk-2.exo.io/qfieldapks/ci-builds/${FILENAME_APK} \e[0m"
sleep 2
s3cmd modify --add-header=content-type:application/vnd.android.package-archive s3://qfieldapks/ci-builds/${FILENAME_APK}
echo -e "\e[31mcontent-type modified \e[0m"
else
Expand Down

0 comments on commit fd1ec4d

Please sign in to comment.