800ccc8faae508f69d8f2133982653583d1141e3
[swamid-metadata.git] / scripts / update-and-validate.sh
1 #!/bin/sh
2 # Used on release-check.swamid.se
3
4 update()
5 {
6 #       echo "git pull"
7         git pull -q || return $?
8
9         /var/www/scripts/updateWebb.bash
10
11         make -f Makefile.validate
12
13 #       echo
14
15         #echo "make aggregate"
16         #make aggregate || return $?
17         #echo
18
19         #echo "make (2007) web site for backwards compat"
20         #env SWAMID_MK_CONFIG=swamid2007.mk make web || return $?
21         #echo
22
23         #echo "make (2016)"
24         #env SWAMID_MK_CONFIG=swamid2016.mk make || return $?
25         #echo
26
27         #echo "make (2016 - test)"
28         #env SWAMID_MK_CONFIG=swamid2016-test.mk make # Allow this to fail
29         #echo
30 }
31
32 cd /opt/swamid-metadata || exit 1
33 update