Created
May 3, 2013 23:27
-
-
Save ctdean/5515083 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
namespace :deploy do | |
desc "Write the name of the tag that we're deploying to a VERSION file" | |
task :write_version_file do | |
run "git describe > #{release_path}/VERSION" | |
end | |
end | |
before "deploy:finalize_update", "deploy:write_version_file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment