1
0
Fork 0
forked from s3lph/matemat

release.py: Add package download links as asset urls to release

This commit is contained in:
s3lph 2021-08-10 21:36:26 +02:00
parent 75a750328a
commit 68a33d1819

View file

@ -128,7 +128,21 @@ def main():
post_body: str = json.dumps({ post_body: str = json.dumps({
'tag_name': release_tag, 'tag_name': release_tag,
'description': augmented_changelog 'description': augmented_changelog,
'assets': {
'links': [
{
'name': 'Python Wheel',
'url': wheel_url,
'link_type': 'package'
},
{
'name': 'Debian Package',
'url': debian_url,
'link_type': 'package'
}
]
}
}) })
gitlab_release_api_url: str = \ gitlab_release_api_url: str = \