Giter VIP home page Giter VIP logo

upload-to-aws's Introduction

What it is

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

Before running

Set the following environment variables:

AWS_S3_ACCESS_KEY_ID AWS_S3_SECRET_ACCESS_KEY

What it does

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)

Uploading a build - build directory

  1. Delete all unwanted files that are in build/ by runnning git clean -f inside it
  2. Copy the unitypackage file to build/unity/releases
  3. Run script/upload-build with no arguments to see what it will do
  4. Run script/upload-build go to upload all the files in build/

Uploading the update feed for releases - feed directory

  1. Delete all unwanted files that are in feed/ by runnning git clean -f inside it
  2. Copy the latest.json file to feed/unity
  3. Run script/upload-feed with no arguments to see what it will do
  4. Run script/upload-feed go to upload all the files in feed/ (in this case, only one)

Uploading git and git-lfs - git directory

  1. Delete all unwanted files that are in git/ by runnning git clean -f inside it
  2. 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.
  3. Run script/upload-git with no arguments to see what it will do
  4. Run script/upload-git go to upload all the files in git/

upload-to-aws's People

Contributors

classicvalues avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.