Cat tags info

This commit is contained in:
Antoine Martin 2024-09-09 17:27:40 -04:00
parent 16e225c93a
commit 232234c027
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -19,9 +19,15 @@ jobs:
steps:
- name: Comparing tags of upstream and destination
run: |
git ls-remote $upstream "refs/tags/$tags" | grep -v '\u007B' | sed 's|.*/||' > upstream_tags
git ls-remote $destination "refs/tags/$tags" | grep -v '\u007B' | sed 's|.*/||' > destination_tags
git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > upstream_tags
git ls-remote $destination "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > destination_tags
cat upstream_tags destination_tags | tr ' ' '\n' | sort | uniq -u | tr '\n' '\t' > missing_tags
echo "Upstream tags:"
cat upstream_tags
echo "Destination tags:"
cat destination_tags
echo "Missing tags:"
cat missing_tag
- name: Fetching missing tags
run: |
git init --bare .