lib/cap_recipes/tasks/play.rb in uhl-cap-recipes-0.1.9 vs lib/cap_recipes/tasks/play.rb in uhl-cap-recipes-0.1.10
- old
+ new
@@ -242,10 +242,10 @@
end
def self.record_git_reversion_command()
[
"cd #{deploy_to_gitrepo}",
- "echo \"$(date +"%Y-%m-%d %H:%M:%S") $(git log --pretty -1 | awk '/^commit/{print $2}')\" >> #{deploy_to}/#{application}_reversion",
+ "echo \"$(date +\"%Y-%m-%d %H:%M:%S\") $(git log --pretty -1 | awk '/^commit/{print $2}')\" >> #{deploy_to}/#{application}_reversion",
].join("; ")
end
end