forgejo: add special case for forgejo-aneksajo when checking upstream version
This commit is contained in:
parent
b9cb527dae
commit
d07957ab63
1 changed files with 3 additions and 0 deletions
|
@ -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=$(sed -n "/^P:$pkg$/,/^$/p" APKINDEX | awk -F ':' '{if($1=="V"){print $2}}')
|
||||||
downstream_version=${downstream_version/-*}
|
downstream_version=${downstream_version/-*}
|
||||||
|
|
||||||
|
# special case for forgejo-aneksajo:
|
||||||
|
upstream_version=${upstream_version/-git-annex/_git}
|
||||||
|
|
||||||
if [ -z "$upstream_version" ]; then
|
if [ -z "$upstream_version" ]; then
|
||||||
echo "$pkg not in anitya"
|
echo "$pkg not in anitya"
|
||||||
echo "$pkg" >> not_in_anitya
|
echo "$pkg" >> not_in_anitya
|
||||||
|
|
Loading…
Add table
Reference in a new issue