#!/bin/sh # Used on release-check.swamid.se update() { # echo "git pull" git pull -q || return $? /var/www/scripts/updateWebb.bash make -f Makefile.validate # echo #echo "make aggregate" #make aggregate || return $? #echo #echo "make (2007) web site for backwards compat" #env SWAMID_MK_CONFIG=swamid2007.mk make web || return $? #echo #echo "make (2016)" #env SWAMID_MK_CONFIG=swamid2016.mk make || return $? #echo #echo "make (2016 - test)" #env SWAMID_MK_CONFIG=swamid2016-test.mk make # Allow this to fail #echo } cd /opt/swamid-metadata || exit 1 update