mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +00:00
ci: delete aptly tasks after publish
This commit is contained in:
@@ -82,6 +82,7 @@ update_publish() {
|
|||||||
_state=`echo $jsonret | jq .State`
|
_state=`echo $jsonret | jq .State`
|
||||||
if [ "$_state" = "2" ]; then
|
if [ "$_state" = "2" ]; then
|
||||||
_success=1
|
_success=1
|
||||||
|
curl -fsS -X DELETE -u $aptly_user:$aptly_password ${aptly_api}/api/tasks/$_task_id
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if [ "$_state" = "3" ]; then
|
if [ "$_state" = "3" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user