diff --git a/.skel/nextcloud-app/build-nextcloud-app b/.skel/nextcloud-app/build-nextcloud-app index 1561d2d..512aa43 100644 --- a/.skel/nextcloud-app/build-nextcloud-app +++ b/.skel/nextcloud-app/build-nextcloud-app @@ -134,7 +134,11 @@ function build_nextcloud_app() { export SRCDIR=${ROOT}/build/srcdir mkdir -p ${SRCDIR} export _NCAPPS_URL=https://apps.nextcloud.com/api/v1/apps.json - export _NCAPPS_JQ='.[] | select(.id == $app) | .releases[] | select(.isNightly == '"${ALLOW_ALPHA}"') | select(.version | contains("-") == false) | "\(.version) \(.download) \(.rawPlatformVersionSpec)"' + if [[ "$ALLOW_ALPHA" == "false" ]]; then + export _NCAPPS_JQ='.[] | select(.id == $app) | .releases[] | select(.isNightly == false) | "\(.version) \(.download) \(.rawPlatformVersionSpec)"' + else + export _NCAPPS_JQ='.[] | select(.id == $app) | .releases[] | "\(.version) \(.download) \(.rawPlatformVersionSpec)"' + fi pre_fetch _fetch post_fetch diff --git a/README.md b/README.md index eeeab25..812b65c 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ information, please see [https://repo.s3lph.me/](https://repo.s3lph.me/). - [nextcloud-30-app-previewgenerator](https://apps.nextcloud.com/apps/previewgenerator) - [nextcloud-30-app-mail](https://apps.nextcloud.com/apps/mail) - [nextcloud-30-app-memories](https://apps.nextcloud.com/apps/memories) -- [nextcloud-30-app-news](https://apps.nextcloud.com/apps/news) (Currently a prerelease intended for NC29) +- [nextcloud-30-app-news](https://apps.nextcloud.com/apps/news) (Currently a prerelease) - [nextcloud-30-app-nextpod](https://apps.nextcloud.com/apps/nextpod) - [nextcloud-30-app-notes](https://apps.nextcloud.com/apps/notes) - [nextcloud-30-app-notify-push](https://apps.nextcloud.com/apps/notify_push) diff --git a/nextcloud-30-app-news/package.sh b/nextcloud-30-app-news/package.sh index 53bf9b3..513cc71 100755 --- a/nextcloud-30-app-news/package.sh +++ b/nextcloud-30-app-news/package.sh @@ -6,4 +6,4 @@ post_prepare() { github_changelog nextcloud/news } -build_nextcloud_app news 30 29 true +build_nextcloud_app news 30 30 true