Skip to content

Instantly share code, notes, and snippets.

View phnz's full-sized avatar

David Lemarier phnz

View GitHub Profile
current_version = `cd #{node[:deploy][application][:deploy_to]}/current/ && git describe`
Chef::Log.debug("Current GIT version #{current_version}")
# current_version is empty :(