def update_info(ref='origin/master'): helpers.git_info(ADDON_REGISTRATION) with lcd(ADDON_REGISTRATION): local("/bin/bash -c " "'source /etc/bash_completion.d/git && __git_ps1'") local('git show -s {0} --pretty="format:%h" ' '> media/git-rev.txt'.format(ref))
def update_info(ref='origin/master'): helpers.git_info(OLYMPIA) with lcd(OLYMPIA): local("/bin/bash -c " "'source /etc/bash_completion.d/git && __git_ps1'") local('git show -s {0} --pretty="format:%h" ' '> media/git-rev.txt'.format(ref))
def update_info(ref="origin/master"): helpers.git_info(ZAMBONI) with lcd(ZAMBONI): local("/bin/bash -c " "'source /etc/bash_completion.d/git && __git_ps1'") local('git show -s {0} --pretty="format:%h" ' "> media/git-rev.txt".format(ref))
def update_info(ref='origin/master'): helpers.git_info(TRUNION) with lcd(TRUNION): local("/bin/bash -c " "'source /etc/bash_completion.d/git && __git_ps1'")