aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rwxr-xr-xtoolchain/generate-fastlane-metadata.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/generate-fastlane-metadata.py b/toolchain/generate-fastlane-metadata.py
index 6eb3befd..f89cd11d 100755
--- a/toolchain/generate-fastlane-metadata.py
+++ b/toolchain/generate-fastlane-metadata.py
@@ -120,8 +120,12 @@ def createYml(appname, data):
if 'source-repo' in data:
info['SourceCode'] = data['source-repo']
+ if 'url-donation' in data:
+ info['Donate'] = data['url-donation'][None]
+ else:
+ info['Donate'] = 'https://kde.org/community/donations/'
+
# static data
- info['Donate'] = 'https://kde.org/community/donations/'
info['Translation'] = 'https://l10n.kde.org/'
# Finally, with our updates completed, we can save the updated appname.yml file back to disk