From ce780aabc0126c38f466d499bd13d039e0eb797a Mon Sep 17 00:00:00 2001 From: kawaiiDango <1066519+kawaiiDango@users.noreply.github.com> Date: Mon, 11 Mar 2024 02:07:31 +0530 Subject: [PATCH] try to set up fdroid repo 5 --- app/src/main/play/contactEmail | 1 - fdroid-repo/fdroid/metadata/com.arn.scrobble.yml | 3 ++- fdroid-repo/fdroid/update.sh | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/main/play/contactEmail b/app/src/main/play/contactEmail index 17931ed4..e69de29b 100644 --- a/app/src/main/play/contactEmail +++ b/app/src/main/play/contactEmail @@ -1 +0,0 @@ -kawaiiDango@pm.me \ No newline at end of file diff --git a/fdroid-repo/fdroid/metadata/com.arn.scrobble.yml b/fdroid-repo/fdroid/metadata/com.arn.scrobble.yml index 68a64c20..a26c9f1a 100644 --- a/fdroid-repo/fdroid/metadata/com.arn.scrobble.yml +++ b/fdroid-repo/fdroid/metadata/com.arn.scrobble.yml @@ -4,7 +4,7 @@ Categories: IssueTracker: 'https://github.com/kawaiiDango/pano-scrobbler/issues' Name: Pano Scrobbler SourceCode: 'https://github.com/kawaiiDango/pano-scrobbler' -Summary: 'A last.fm, ListenBrainz, libre.fm and GNU FM client for Android' +Summary: 'Feature packed music tracker with slick animations' Description: | - No ads ever - Scrobbles to LastFM, LibreFM, GNU FM, Listenbrainz, Maloja, Pleroma or to a file @@ -38,4 +38,5 @@ AntiFeatures: WebSite: 'https://github.com/kawaiiDango/pano-scrobbler' Translation: https://crowdin.com/project/pscrobbler Donate: https://ko-fi.com/kawaiiDango +AuthorEmail: kawaiiDango@pm.me License: GPL-3.0 diff --git a/fdroid-repo/fdroid/update.sh b/fdroid-repo/fdroid/update.sh index 5a37cf9b..661ca2d8 100644 --- a/fdroid-repo/fdroid/update.sh +++ b/fdroid-repo/fdroid/update.sh @@ -27,6 +27,14 @@ for ((i=0; i<${#ASSET_URLS[@]} && i<5; i++)); do curl -L --create-dirs -o "repo/${REPO}-${TAGS[$i]}.apk" "${ASSET_URLS[$i]}" done +# create changelogs from github release body +mkdir -p "repo/${PACKAGE}/en-US/changelogs" +for ((i=0; i<${#ASSET_URLS[@]} && i<5; i++)); do + echo "Creating changelog for ${TAGS[$i]}" + echo -e "## ${TAGS[$i]}\n" > "repo/${PACKAGE}/en-US/changelogs/${TAGS[$i]}.txt" + curl -L "https://api.github.com/repos/$USER/$REPO/releases/tags/${TAGS[$i]}" | jq -r '.body' >> "repo/${PACKAGE}/en-US/changelogs/${TAGS[$i]}.txt" +done + # download screenshots curl -L --create-dirs -o "repo/${PACKAGE}/en-US/phoneScreenshots/1scrobbles.png" "https://i.imgur.com/pgETfhc.png" curl -L -o "repo/${PACKAGE}/en-US/phoneScreenshots/2friends.png" "https://i.imgur.com/Q7yPi2z.png"