Using Capistrano 3.4, is there a command to find the currently deployed version (branch and tag/revision)?
In the deployed root directory there is a file revisions.log
. I could create a custom command to parse it, but especially in the case of a rollback, it's not very easy to parse:
Branch master (at 21) deployed as release 20151207160059 by Marco
Branch master (at 22) deployed as release 20151207180000 by Marco
Marco rolled back to release 20151207160059