Automagically tag your current deployed release with capistrano
$ gem install capistrano-tagging
In deploy.rb
:
require 'capistrano/tagging'
That's it! You can specify format of tag:
set :tagging_format, ':rails_env_:release' # default, also available all of deploy variables