#!/usr/bin/env bash

/bin/echo "Zipping"
/bin/tar --use-compress-program="/usr/bin/pigz" -cf ./eagle0linux/eagle0_linux.tar.gz ./eagle0linux/eagle0
/bin/echo "Uploading"
/usr/bin/rsync -rtlDv -e "/usr/bin/ssh -i /var/lib/jenkins/.ssh/id_rsa -p 9022" ./eagle0linux/eagle0_linux.tar.gz www@eagle0.net:/www/assets/linux/
