summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-05-20 14:56:59 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-05-20 14:56:59 +0200
commitcbd70e9fcaec052257ea733080a5b9b45f9503fd (patch)
treea6363a64ea997a129a556bb6455be388b998f41f /bin
parente55efcea6bbe6d652100bee19c14b9e366abf91b (diff)
downloaddeployment-cbd70e9fcaec052257ea733080a5b9b45f9503fd.tar.gz
deployment-cbd70e9fcaec052257ea733080a5b9b45f9503fd.tar.bz2
deployment-cbd70e9fcaec052257ea733080a5b9b45f9503fd.zip
update deployment.git before rebuild
Diffstat (limited to 'bin')
-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