mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 13:45:19 +00: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:
parent
a83f5cd0f0
commit
f250f89491
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue