tildeio/rsvp.js — pull request #270 by rondale-sc (2014-07-27 15:58:06+00:00)
Title: Use ember-publisher to publish rsvp/rsvp.min to s3

This will publish the following routes on every successful push to the master branch:

- 'rsvp-latest.js'
- 'rsvp-' + revision + '.js'
- 'rsvp-latest.min.js',
- 'rsvp-' + revision + '.min.js'

More details can be found [here](https://github.com/rondale-sc/ember-publisher/blob/master/project_configs/rsvp-proj.js)

In the bin script I am forcing the currentBranch to use the wildcard only when current branch is master. On other branches it will fail [here](https://github.com/rondale-sc/ember-publisher/blob/master/index.js#L76).

The environment variables are already available from [this](https://github.com/tildeio/rsvp.js/commit/ea2263764439df4569ff4efd9a80c87ccdb3184a#diff-354f30a63fb0907d4ad57269548329e3R10)

Cheers