up.sh 590 B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. # 1) Check that there is only one parameter
  3. # of Wekan version number
  4. if [ $# -ne 1 ]
  5. then
  6. echo "Syntax with Wekan version number:"
  7. echo " ./maintainer-make-bundle-o.sh 5.10"
  8. exit 1
  9. fi
  10. # 2) Install parallel if it's not installed yet
  11. sudo apt-get -y install parallel
  12. # 3) Download releases from build servers and
  13. # upload releases to download server,
  14. # all at the same time in parallel.
  15. {
  16. ~/repos/wekan/releases/up-a.sh $1
  17. ~/repos/wekan/releases/up-s.sh $1
  18. #~/repos/wekan/releases/up-o.sh $1
  19. ~/repos/wekan/releases/up-w.sh $1
  20. } | parallel -k