try fixing scp mis-sending filename

This commit is contained in:
Eric House 2018-12-16 17:19:03 -08:00
parent 3b0a523499
commit 02f37009d2

View file

@ -35,8 +35,8 @@ before_install:
- sudo apt-get install -y python-lxml imagemagick
script:
- "./gradlew -PuseCrashlytics asXw4dDeb"
- scp -o "StrictHostKeyChecking no" -i /tmp/id_rsa_uploader -d app/build/outputs/apk/xw4d/debug/*.apk
uploader@eehouse.org:XW4D_UPLOAD
- NAME=$(find app/build/outputs/apk/xw4d/debug -name '*.apk')
- scp -o "StrictHostKeyChecking no" -i /tmp/id_rsa_uploader -d $NAME uploader@eehouse.org:XW4D_UPLOAD/$(basename $NAME)
notifications:
email:
recipients: