summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-build
diff options
context:
space:
mode:
Diffstat (limited to 'bin/taler-deployment-build')
-rwxr-xr-xbin/taler-deployment-build6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/taler-deployment-build b/bin/taler-deployment-build
index ee7512d..d20ce95 100755
--- a/bin/taler-deployment-build
+++ b/bin/taler-deployment-build
@@ -2,6 +2,12 @@
set -eu
+cd $HOME/deployment
+
+# like "git pull", but discard local changes
+git fetch
+git reset --hard FETCH_HEAD
+
cd $HOME/deployment/taler-build
./invalidate.sh
make