overwrite destination_tags to retry transfer

This commit is contained in:
Antoine Martin 2024-10-10 19:12:19 -04:00
parent eabaefb3b4
commit f19fbd8d57
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

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