Doubly escaped curly brackets

This commit is contained in:
Antoine Martin 2024-09-09 17:12:25 -04:00
parent a47975ec41
commit 7a044588c1
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

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