summaryrefslogtreecommitdiff
path: root/taler-build/invalidate.sh
blob: 3c9a15b84a8aec32c567078509ab8db2ec6a5fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# Invalidate build stamps
# FIXME: eventually stamp invalidation
# should be done inside a buildbot step,
# since there all the information is already
# available.

set -eu

for component in deployment exchange merchant bank gnurl merchant-frontends landing gnunet libmicrohttpd; do
  cd $HOME/$component
  git fetch
  if git status -sb | grep behind; then
    echo "invalidating $component"
    rm -f $HOME/deployment/taler-build/$component-stamp
  fi
done