forgejo: add special case for forgejo-aneksajo when checking upstream version
Some checks failed
/ lint (pull_request) Successful in 26s
/ deploy-x86_64 (pull_request) Successful in 26s
/ build-x86_64 (pull_request) Successful in 4m34s
/ deploy-aarch64 (pull_request) Has been cancelled
/ build-aarch64 (pull_request) Has been cancelled

This commit is contained in:
Antoine Martin 2024-10-29 08:42:13 -04:00
parent b9cb527dae
commit d07957ab63
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -18,6 +18,9 @@ for pkg in $owned_by_you; do
downstream_version=$(sed -n "/^P:$pkg$/,/^$/p" APKINDEX | awk -F ':' '{if($1=="V"){print $2}}')
downstream_version=${downstream_version/-*}
# special case for forgejo-aneksajo:
upstream_version=${upstream_version/-git-annex/_git}
if [ -z "$upstream_version" ]; then
echo "$pkg not in anitya"
echo "$pkg" >> not_in_anitya