Permalink
Browse files

setup user for reporting who actually did the deploy

  • Loading branch information...
Justin Lynn
Justin Lynn committed Nov 15, 2010
1 parent db2a882 commit 84c37c240206989aad5ad8b3119737738f51ecdd
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "capistrano_mailer_railsless"
- s.version = "3.2.6"
+ s.version = "3.2.7"
s.authors = ["3Crowd Technologies, Inc.", "Justin Lynn", "Peter Boling", "Dave Nolan"]
@@ -54,7 +54,8 @@ def notification_email(cap, config = {}, *args)
:latest_revision => cap.latest_revision,
:previous_revision => cap.previous_revision,
:run_method => cap.run_method,
- :latest_release => cap.latest_release
+ :latest_release => cap.latest_release,
+ :user => cap.user
}))
@date = Date.today.to_s
@@ -19,6 +19,7 @@
<% end %>
<p style="margin: 10px 20px; font-weight: bold;">Released: <%= @date %> at <%= @time %></p>
+ <p style="margin: 10px 20px; font-weight: bold;">Released By: <%= @config[:user] %></p>
<%= @sections.map { |section|
data = @section_data[section.to_sym]
@@ -4,7 +4,8 @@
<%= @site_name %> <%=@task_name.titleize unless @task_name.nil? %>
===========================================================
Released: <%= @date %> at <%= @time %>
-
+ Released By: <%= @config[:user] %>
+
<% @sections.each do |section| %>
<% data = @section_data[section.to_sym] %>
<% if !data.empty? %>

0 comments on commit 84c37c2

Please sign in to comment.