overwrite destination_tags to retry transfer
This commit is contained in:
parent
eabaefb3b4
commit
f19fbd8d57
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue