Created
February 3, 2011 18:00
-
-
Save robhudson/809876 to your computer and use it in GitHub Desktop.
This file contains 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
def roll_release(version): | |
local('git flow release start %s' % (version,), capture=True) | |
local('sed -e "s/\'AWS_PREFIX\':.*$/\'AWS_PREFIX\': \'%s\', # cache bust/g" -i \'\' potluck/settings/base.py' % (version,)) | |
local('git commit -am \'Bumped media version to %s\'' % (version,)) | |
local('git flow release finish -m %s -p %s' % (version, version), capture=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment