forgejo: add special case for forgejo-aneksajo when checking upstream version

This commit is contained in:
Antoine Martin 2024-10-29 08:32:32 -04:00
parent 64a3309cba
commit 6cbd9c08db
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 6 additions and 3 deletions

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/_gitannex}
if [ -z "$upstream_version" ]; then
echo "$pkg not in anitya"
echo "$pkg" >> not_in_anitya