From 34fe708dae02b4bb3ef133882c8db5ea6daf7528 Mon Sep 17 00:00:00 2001 From: s3lph Date: Mon, 4 Mar 2024 22:09:38 +0100 Subject: [PATCH] fix: no stable news release for nc28 --- nextcloud-28-app-news/package.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nextcloud-28-app-news/package.sh b/nextcloud-28-app-news/package.sh index e0289b8..0d23f02 100755 --- a/nextcloud-28-app-news/package.sh +++ b/nextcloud-28-app-news/package.sh @@ -2,6 +2,11 @@ . ../.skel/nextcloud-app/build-nextcloud-app +function pre_fetch() { + # Filter from .skel/build-nextcloud-app, but with restriction to stable versions removed + export _NCAPPS_JQ='.[] | select(.id == $app) | .releases[] | select(.version | contains("-") == false) | "\(.version) \(.download) \(.rawPlatformVersionSpec)"' +} + post_prepare() { github_changelog nextcloud/news }