Merge pull request 'chore(ci): do not remove tags from forgejo-integration' (#4923) from earl-warren/forgejo:wip-integration-cleanup into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4923
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
Earl Warren 2024-08-11 09:46:25 +00:00
commit 1b24180327

View file

@ -33,7 +33,6 @@ jobs:
if test $published_at_seconds -le $too_old_seconds ; then if test $published_at_seconds -le $too_old_seconds ; then
echo "$version was published more than $old ago ($published_at <= $too_old) and will be removed" echo "$version was published more than $old ago ($published_at <= $too_old) and will be removed"
curl -X DELETE -sS "$url/api/v1/repos/forgejo-integration/forgejo/releases/tags/$version" curl -X DELETE -sS "$url/api/v1/repos/forgejo-integration/forgejo/releases/tags/$version"
curl -X DELETE -sS "$url/api/v1/repos/forgejo-integration/forgejo/tags/$version"
else else
echo "$version was published less than $old ago" echo "$version was published less than $old ago"
fi fi