forgejo: add special case for dotnet9-stage0

This commit is contained in:
Antoine Martin 2024-12-13 10:29:04 -05:00
parent a053fd35f3
commit 9ee55e001b
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -25,7 +25,7 @@ for pkg in $owned_by_you; do
# special cases
case $pkg in
freetube) upstream_version=$(curl --fail -X GET -sS -H 'Content-Type: application/json' "https://release-monitoring.org/api/v2/packages/?name=$pkg&distribution=Alpine" | jq -r '.items.[].version' | sed "s|-beta||");;
dotnet9-sdk) upstream_version=${upstream_version/-*};;
dotnet9-sdk|dotnet9-stage0) upstream_version=${upstream_version/-*};;
esac
if [ -z "$upstream_version" ]; then