taler-deployment

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

commit 884b7bfc72b0ff855129643b519eb2a2e754bf79
parent a1cab9f28929f6fbb9277c37b6840102beb64424
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Thu, 29 Jun 2017 11:16:45 +0200

updaters for main Web site

Diffstat:
Ataler-build/update_stage.sh | 16++++++++++++++++
Ataler-build/update_www.sh | 16++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/taler-build/update_stage.sh b/taler-build/update_stage.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -eu + +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/taler.net +fetch +git submodule update --init +make diff --git a/taler-build/update_www.sh b/taler-build/update_www.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -eu + +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/taler.net +fetch +git submodule update --init +make