From f19fbd8d57771b3116b57a3abb6a518b7a194f5d Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 10 Oct 2024 19:12:19 -0400 Subject: [PATCH] overwrite destination_tags to retry transfer --- .forgejo/workflows/mirror-repository.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/mirror-repository.yml b/.forgejo/workflows/mirror-repository.yml index 513201da7565..12f9a2d8b4b4 100644 --- a/.forgejo/workflows/mirror-repository.yml +++ b/.forgejo/workflows/mirror-repository.yml @@ -26,6 +26,7 @@ jobs: run: | git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > upstream_tags git ls-remote ${{ github.server_url}}/${{ github.repository }} "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > destination_tags + echo "" > destination_tags cat upstream_tags destination_tags | tr ' ' '\n' | sort | uniq -u > missing_tags echo "Missing tags:" cat missing_tags