Do not sync nightly

This commit is contained in:
Antoine Martin 2024-10-10 19:55:56 -04:00
parent c38d71cc73
commit f9e6aa8a04
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -24,7 +24,7 @@ jobs:
token: ${{ secrets.CODE_FORGEJO_TOKEN }}
- name: Missing tag detecting
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
cat upstream_tags destination_tags | tr ' ' '\n' | sort | uniq -u > missing_tags
echo "Missing tags:"