release.py: Add package download links as asset urls to release
This commit is contained in:
parent
75a750328a
commit
68a33d1819
1 changed files with 15 additions and 1 deletions
|
@ -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 = \
|
||||||
|
|
Loading…
Reference in a new issue