From 467dbdbf3d7212e25ee69daeaadd8adba7c7c5b8 Mon Sep 17 00:00:00 2001 From: Björn Mattsson Date: Mon, 6 Mar 2023 11:22:05 +0100 Subject: Moved files to make ths repo signed --- metadata/scripts/update.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 metadata/scripts/update.sh (limited to 'metadata/scripts/update.sh') diff --git a/metadata/scripts/update.sh b/metadata/scripts/update.sh new file mode 100755 index 00000000..5d1a9a2f --- /dev/null +++ b/metadata/scripts/update.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +update() +{ + echo "git pull" + git pull || return $? + echo + + echo "make aggregate" + make aggregate || return $? + echo + + echo "make test" + make test || return $? + echo + + echo "make" + make || return $? + echo +} + +cd /opt/swamid-metadata || exit 1 +output=$(update 2>&1) +ret=$? +if [ "$ret" != "0" ] ; then + echo "$output" + exit $ret +fi -- cgit v1.2.3