ci: delete aptly tasks after publish

This commit is contained in:
André Roth
2024-10-06 22:18:48 +02:00
parent a998755245
commit be6d06a653

View File

@@ -82,6 +82,7 @@ update_publish() {
_state=`echo $jsonret | jq .State`
if [ "$_state" = "2" ]; then
_success=1
curl -fsS -X DELETE -u $aptly_user:$aptly_password ${aptly_api}/api/tasks/$_task_id
break
fi
if [ "$_state" = "3" ]; then