ci-wrapper.sh 880 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. # Build will be found in ./dist and ./dist-enterprise
  3. # integrated circleci will have all of the code in /master
  4. # and the builds will be found in $HOME
  5. mkdir -p /tmp/dist
  6. if [ -d '/home/xclient/repo/dist/' ]; then
  7. ls -al /home/xclient/repo/dist/
  8. cp /home/xclient/repo/dist/*.zip /tmp/dist/
  9. echo "Contents of /tmp/dist"
  10. ls -al /tmp/dist
  11. fi
  12. # nssm download has been unreliable, use a cached copy of it
  13. echo "Caching NSSM"
  14. mkdir -p /tmp/cache
  15. cp /master/cache/nssm-2.24.zip /tmp/cache
  16. # a build can be specified, which will be pulled down
  17. #python3 generator/build.py --build 5.4.3
  18. echo "LIGHT config"
  19. ls -al /home/xclient/wix/light.exe.config
  20. cat /home/xclient/wix/light.exe.config
  21. cp /master/light.exe.config /home/xclient/wix/light.exe.config
  22. cat /home/xclient/wix/light.exe.config
  23. cd /master || exit 1
  24. echo "Building MSI"
  25. python3 generator/build.py "$@"
  26. #
  27. #