taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 974556166e79017c24d4628475ac2d32c87ee0e6
parent 9d2f98aae500f00396dc0e1fff3f5fe73fc40749
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  1 Dec 2019 20:53:23 +0100

audo reploy latest deployment

Diffstat:
Mbuildbot/coverage.sh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/buildbot/coverage.sh b/buildbot/coverage.sh @@ -11,6 +11,18 @@ echo "The Buildbot is paused, remove ${PAUSE_LOCKFILE} to resume." exit 1 fi +fetch () { + git clean -fdx + git fetch + # reset to updated upstream branch, but only if we're tracking a branch + branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo head) + git reset --hard "$branch" +} + +cd $HOME/deployment +fetch +cd + source "${HOME}/activate" for codebase in merchant exchange ; do