0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00

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
This commit is contained in:
Earl Warren 2024-08-11 07:22:21 +02:00
parent a83f5cd0f0
commit f250f89491
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

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