Remove awk from pipeline

This commit is contained in:
Antoine Martin 2024-09-09 17:22:34 -04:00
parent 7a044588c1
commit 254a9b9d16
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -19,8 +19,8 @@ jobs:
steps:
- name: Comparing tags of upstream and destination
run: |
git ls-remote $upstream "refs/tags/$tags" | grep -v '\\{' | awk '\\{print $2\\}' | sed 's|refs/tags/||' > upstream_tags
git ls-remote $destination "refs/tags/$tags" | grep -v '\\{' | awk '\\{print $2\\}' | sed 's|refs/tags/||' > destination_tags
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
cat upstream_tags destination_tags | tr ' ' '\n' | sort | uniq -u | tr '\n '\t' > missing_tags
- name: Fetching missing tags
run: |