Skip to content

Commit

Permalink
try to set up fdroid repo 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaiiDango committed Mar 10, 2024
1 parent f87c3c5 commit ce780aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/src/main/play/contactEmail
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
kawaiiDango@pm.me
3 changes: 2 additions & 1 deletion fdroid-repo/fdroid/metadata/com.arn.scrobble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
8 changes: 8 additions & 0 deletions fdroid-repo/fdroid/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ce780aa

Please sign in to comment.