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 }