further apt repo upload fixes

This commit is contained in:
crystal 2023-07-02 10:05:42 -06:00
parent 443f51525b
commit a7f8f74bea
No known key found for this signature in database
GPG key ID: 1122054731F7CC43

View file

@ -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