mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
Compare commits
2
Commits
38bc1c1aa9
...
d6b63937ae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6b63937ae | ||
|
|
6222bf7c5c |
@@ -73,8 +73,9 @@ jobs:
|
|||||||
# The mirror has to see the tag go (it drops the tag and its release with the ISO); otherwise the new tag is only an
|
# The mirror has to see the tag go (it drops the tag and its release with the ISO); otherwise the new tag is only an
|
||||||
# update there and starts no build.
|
# update there and starts no build.
|
||||||
if mirror_sync; then
|
if mirror_sync; then
|
||||||
|
# The tag list, not .../tags/<tag>: that URL answers 404 on this server even for tags that exist.
|
||||||
for _ in $(seq 36); do
|
for _ in $(seq 36); do
|
||||||
[ "$(curl -s -o /dev/null -w '%{http_code}' "$GITEA_URL/api/v1/repos/$GITEA_REPO/tags/$tag")" = 404 ] && break
|
curl -s "$GITEA_URL/api/v1/repos/$GITEA_REPO/tags?limit=100" | grep -q "\"name\":\"$tag\"" || break
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user