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 -f
inside it - Copy the unitypackage file to
build/unity/releases
- Run
script/upload-build
with no arguments to see what it will do - Run
script/upload-build go
to upload all the files inbuild/
- Delete all unwanted files that are in
feed/
by runnninggit clean -f
inside it - Copy the
latest.json
file tofeed/unity
- Run
script/upload-feed
with no arguments to see what it will do - Run
script/upload-feed go
to upload all the files infeed/
(in this case, only one)
- Delete all unwanted files that are in
git/
by runnninggit clean -f
inside 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-git
with no arguments to see what it will do - Run
script/upload-git go
to upload all the files ingit/