Merge pull request #146 from basecamp/tell-me-more
Deploys mention the service and version
This commit is contained in:
@@ -48,4 +48,9 @@ module Mrsk::Utils
|
||||
def escape_shell_value(value)
|
||||
value.to_s.dump.gsub(/`/, '\\\\`')
|
||||
end
|
||||
|
||||
# Abbreviate a git revhash for concise display
|
||||
def abbreviate_version(version)
|
||||
version[0...7] if version
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user