Browse files

Expose the release timestamp as :release_timestamp

Previously the only way to get this value was to extract it from
the end of :release_path.
  • Loading branch information...
1 parent a3394b6 commit 7cbf9f6eae6764a34720b409a7347efa51225046 @arkadyan arkadyan committed Jan 27, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/capistrano/dsl/paths.rb
@@ -24,6 +24,7 @@ def release_path
def set_release_path(timestamp=now)
+ set(:release_timestamp, timestamp)
set(:release_path, releases_path.join(timestamp))

0 comments on commit 7cbf9f6

Please sign in to comment.