Do not sync nightly
This commit is contained in:
parent
c38d71cc73
commit
f9e6aa8a04
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ jobs:
|
||||||
token: ${{ secrets.CODE_FORGEJO_TOKEN }}
|
token: ${{ secrets.CODE_FORGEJO_TOKEN }}
|
||||||
- name: Missing tag detecting
|
- name: Missing tag detecting
|
||||||
run: |
|
run: |
|
||||||
git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > upstream_tags
|
git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' | grep -v "nightly" > upstream_tags
|
||||||
git ls-remote ${{ github.server_url}}/${{ github.repository }} "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > destination_tags
|
git ls-remote ${{ github.server_url}}/${{ github.repository }} "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > destination_tags
|
||||||
cat upstream_tags destination_tags | tr ' ' '\n' | sort | uniq -u > missing_tags
|
cat upstream_tags destination_tags | tr ' ' '\n' | sort | uniq -u > missing_tags
|
||||||
echo "Missing tags:"
|
echo "Missing tags:"
|
||||||
|
|
Loading…
Reference in a new issue