Created
May 6, 2011 19:35
-
-
Save thisivan/959627 to your computer and use it in GitHub Desktop.
Take the abbreviated commit hash as the RAILS_ASSET_ID value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV['RAILS_ASSET_ID'] = `git log -1 --pretty=format:"%h"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment