insert_funding_yml_donation_links: update lfx link

community_bridge is lfx_crowdfunding now
This commit is contained in:
linsui 2024-04-10 18:57:56 +08:00
parent 18fe76ced9
commit c23af7984c
1 changed files with 2 additions and 2 deletions

View File

@ -872,10 +872,10 @@ def insert_funding_yml_donation_links(apps):
if s:
app['Donate'] = s
break
elif k == 'community_bridge':
elif k in ('community_bridge', 'lfx_crowdfunding'):
s = sanitize_funding_yml_name(v)
if s:
app['Donate'] = 'https://funding.communitybridge.org/projects/' + s
app['Donate'] = 'https://crowdfunding.lfx.linuxfoundation.org/projects/' + s
break
elif k == 'github':
s = sanitize_funding_yml_name(v)