Capistrano


Capistrano V3 deploy a tag

In deploy.rb, replace the line “set :branch ‘master'” with the below. The line below will allow you to specify a branch or tag name to deploy and if left empty, it’ll deploy master.

ask :branch, 'master'