mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.34k stars 491 forks source link

Git SHA information on deploy or rollback #626

Closed mcnelson closed 5 years ago

mcnelson commented 5 years ago

Hi. I was just curious if Mina establishes a means of seeing the live Git SHA after deployment or rollback? Would be very helpful to know.

Edit- To clarify, I am looking for it on the server, such as Capistrano's REVISION file.

sunny commented 5 years ago

There is a file current/.mina_git_revision which stores the current commit hash. Is this what you were looking for?

mcnelson commented 5 years ago

Exactly! Thanks.