Skip to content

Instantly share code, notes, and snippets.

Avatar

David Lemarier phnz

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