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

set -eu
components="deployment exchange merchant bank gnurl donations blog landing gnunet libmicrohttpd survey backoffice twister"

if [[ "$TALER_ENV_NAME" = test ]]; then
  components="$components playground help"
fi

for component in  $components ; 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