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

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

for component in exchange merchant bank;
  do
  cd ~/$component
  git fetch
  if git status -sb | grep behind; then
    rm -f ~/deployment/taler-build/$component-stamp
  fi
  done

cd ~/gnunet
svnHead=$(svn info -r HEAD | awk '/^Revision/ {print $2}')
svnBase=$(svn info -r BASE | awk '/^Revision/ {print $2}')
if test $svnHead != $svnBase; then
  rm -f ~/deployment/taler-build/gnunet-stamp
fi