Remove awk from pipeline
This commit is contained in:
parent
7a044588c1
commit
254a9b9d16
1 changed files with 2 additions and 2 deletions
|
@ -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 '\u007B' | sed 's|.*/||' > 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 '\u007B' | sed 's|.*/||' > 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: |
|
||||||
|
|
Loading…
Reference in a new issue