blob: 7f778635677255ef4a875e5da578a6de2df4d230 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/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 exchange merchant bank gnurl merchant-frontends landing; 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
for component in gnunet libmicrohttpd; do
cd $HOME/$component
svnHead=$(svn info -r HEAD | awk '/^Revision/ {print $2}')
svnBase=$(svn info -r BASE | awk '/^Revision/ {print $2}')
if test $svnHead != $svnBase; then
echo "invalidating $component"
rm -f $HOME/deployment/taler-build/$component-stamp
fi
done
|