fetch-binaries 683 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. mkdir -p dist/
  3. check_and_copy () {
  4. echo "--- EXE $2 -----------------------------------------------"
  5. vagrant ssh $1 -c "/vagrant/borg/borg.exe -V"
  6. vagrant scp $1:/vagrant/borg/borg.exe dist/$2
  7. echo "--- DIR $2 -----------------------------------------------"
  8. vagrant ssh $1 -c "/vagrant/borg/borg-dir/borg.exe -V"
  9. vagrant scp $1:/vagrant/borg/borg.tgz dist/$2.tgz
  10. echo ""
  11. }
  12. check_and_copy stretch64 borg-linuxold64
  13. check_and_copy buster64 borg-linux64
  14. check_and_copy bullseye64 borg-linuxnew64
  15. check_and_copy bookworm64 borg-linuxnewer64
  16. check_and_copy freebsd64 borg-freebsd64
  17. check_and_copy darwin64 borg-macos64