diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
commit | 467dbdbf3d7212e25ee69daeaadd8adba7c7c5b8 (patch) | |
tree | d3576d5f2d4b5cc676c0a12ef8f8c3c83b474bf5 /metadata/scripts/update-cron.sh | |
parent | bc1d55080e5d42e6ef2bba892d640aa8f68bbc90 (diff) |
Moved files to make ths repo signed
Diffstat (limited to 'metadata/scripts/update-cron.sh')
-rwxr-xr-x | metadata/scripts/update-cron.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/metadata/scripts/update-cron.sh b/metadata/scripts/update-cron.sh new file mode 100755 index 00000000..f00daa03 --- /dev/null +++ b/metadata/scripts/update-cron.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +update() +{ + echo "git pull" + git pull || return $? + 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 |