From f250f89491f0a5d25b3ace3fa60e601e1485685b Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 11 Aug 2024 07:22:21 +0200 Subject: [PATCH] chore(ci): do not remove tags from forgejo-integration If the tag of a stable release is removed from integration, it won't be properly described when building the test release. It will be: 8.0.0-dev-1648-7b31a541c0+gitea-1.22.0 instead of: 8.0.1-5-7b31a541c0+gitea-1.22.0 --- .forgejo/workflows/forgejo-integration-cleanup.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.forgejo/workflows/forgejo-integration-cleanup.yml b/.forgejo/workflows/forgejo-integration-cleanup.yml index e8803d08d7..049679a1eb 100644 --- a/.forgejo/workflows/forgejo-integration-cleanup.yml +++ b/.forgejo/workflows/forgejo-integration-cleanup.yml @@ -33,7 +33,6 @@ jobs: 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" 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 echo "$version was published less than $old ago" fi