drone-not-working: moving the cleanup around so it actually cleans up

This commit is contained in:
toby 2019-02-25 19:15:00 +00:00
parent 80bcf8451a
commit 773057b889
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ cd $TMP_DIR
sudo dpkg-buildpackage --no-sign
ls -lha ../wit-pxeboot-${ARCH}_*_all.deb
scp -i ~/.ssh/packager -o StrictHostKeyChecking=no -P 22022 ../wit-pxeboot-${ARCH}_*_all.deb root@cloud-api.v2.stack.wit.com:/data/incoming/main
sudo rm -fr ../wit-pxeboot-${ARCH}*
cd -
sudo rm -fr $TMP_DIR
sudo rm -fr ../wit-pxeboot-${ARCH}*