Some ruby scripts to upload things to aws. You'll need a ruby, and run bundle install to get all the needed gems before running the scripts
Set the following environment variables:
AWS_S3_ACCESS_KEY_ID AWS_S3_SECRET_ACCESS_KEY
The script goes through every file inside git, feed or build and uploads all of them to aws to the corresponding directories in the unity top folder. Therefore, it is VERY IMPORTANT that these directories only have the files to be uploaded and NOTHING ELSE (.gitignore files are skipped)
- Delete all unwanted files that are in
build/by runnninggit clean -finside it - Copy the unitypackage file to
build/unity/releases - Run
script/upload-buildwith no arguments to see what it will do - Run
script/upload-build goto upload all the files inbuild/
- Delete all unwanted files that are in
feed/by runnninggit clean -finside it - Copy the
latest.jsonfile tofeed/unity - Run
script/upload-feedwith no arguments to see what it will do - Run
script/upload-feed goto upload all the files infeed/(in this case, only one)
- Delete all unwanted files that are in
git/by runnninggit clean -finside it - Copy the git.zip/git.json and git-lfs.zip/git-lfs.json file pairs to the correct platform directory (
git/unity/git/windows,git/unity/git/mac,git/unity/git/linux). Only the files that have been changed need to be uploaded. - Run
script/upload-gitwith no arguments to see what it will do - Run
script/upload-git goto upload all the files ingit/