Cat tags info
This commit is contained in:
parent
16e225c93a
commit
232234c027
1 changed files with 8 additions and 2 deletions
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue