From a7f8f74bea844d3f4765bcf94950091fdc151e17 Mon Sep 17 00:00:00 2001 From: crystal Date: Sun, 2 Jul 2023 10:05:42 -0600 Subject: [PATCH] further apt repo upload fixes --- .ci-forgejo-apt.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci-forgejo-apt.sh b/.ci-forgejo-apt.sh index 27983c7..8a20937 100755 --- a/.ci-forgejo-apt.sh +++ b/.ci-forgejo-apt.sh @@ -1,6 +1,8 @@ #!/bin/sh +EXIT_TOTAL=0 for deb in "$@" ; do curl -X PUT -H "Authorization: token $FORGEJO_KEY" -T "$deb" $FORGEJO_SITE/api/packages/$FORGEJO_OWNER/debian/pool/$DEBIAN_DIST/$DEBIAN_COMPONENT/upload - exit $? + EXIT_TOTAL=$EXIT_TOTAL+$? done +exit $EXIT_TOTAL