wiota / lime

Lime binds your work together.
lime.wiota.co
2 stars 0 forks source link

Get HEROKU_RELEASE_NAME through heroku API #95

Closed di closed 9 years ago

di commented 9 years ago

This is to implement CSS cache-breakers for new versions.

See: http://stackoverflow.com/questions/8792716/reflecting-heroku-push-version-within-the-app

also: https://github.com/heroku/heroku.py

di commented 9 years ago

Apparently just creating the HEROKU_RELEASE_NAME as an environmental var gets this updated automagically every time there is a new release and we can just use that. Maybe? Seems like this might only happen on every deploy? Need to check up on this after we deploy again.

Currently it's set to 'v7', let's see if that changes.

di commented 9 years ago

Looks like this happens automagically and is documented nowhere. Awesome!