Facebook
From Reuben M, 3 Years ago, written in SQL.
Embed
Download Paste or View Raw
Hits: 738
  1. #!/bin/sh
  2.  
  3. SET -x
  4.  
  5. #! $1 will contain our build path, which contains our build folder
  6.  
  7. echo "$1"
  8.  
  9. cd $1
  10. export buildfolder="22d2 - WebGL/Build"
  11. IF [ -z "$buildfolder" ]; THEN
  12.   echo "Could not find build folder"
  13.   exit 1
  14. fi
  15.  
  16. IF [ ! -d ./tmp ]; THEN
  17.   git clone "https://${nickname}:${githubkey}@${repository}" ./tmp
  18. fi
  19.  
  20. cp -r "$buildfolder" ./tmp/assets
  21. cd ./tmp
  22. git ADD assets/Build
  23. git config --global user.email "$email"
  24. git config --global user.name "$nickname"
  25. git commit -m "Unity Cloud Build WebGL"
  26. git push --force
  27.  

Replies to Post Build Task rss

Title Name Language When
Re: Post Build Task Putrid Earthworm cpp 2 Years ago.