chore: nextcloud-30-app-news

This commit is contained in:
s3lph 2024-10-18 01:56:28 +02:00
parent 0e92baf162
commit d511654904
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5
3 changed files with 7 additions and 3 deletions
.skel/nextcloud-app
README.md
nextcloud-30-app-news

View file

@ -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

View file

@ -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)

View file

@ -6,4 +6,4 @@ post_prepare() {
github_changelog nextcloud/news
}
build_nextcloud_app news 30 29 true
build_nextcloud_app news 30 30 true