For capistrano 3 check https://github.com/ianheggie/capistrano-tagging3
For capistrano > 2 check https://github.com/dimko/capistrano-tagging
Capistrano GitTagging Extension
Automagically tag your current deployed release with capistrano
Install:
gem install capistrano-git-tags
usage: put this in the top in your deploy.rb:
require 'capistrano/git/tags'
TODO
- specify the formatting of the tag