diff --git a/release.py b/release.py index 114f529..7dad07d 100755 --- a/release.py +++ b/release.py @@ -135,8 +135,10 @@ def main(config: dict, version: str, channel: str, local: bool): file_hash = None changelog = confirm('Do you want to include a changelog?') + changelog_url = None if changelog: chlog_filepath, chlog_filename = just_find_file('changelog.txt') + changelog_url = f'{config["baseUrl"]}/{BASE_DIR}/{channel}/{version}/changelog.txt' latest_data = load_latest_data(channel) version_dir = make_path(channel, version) @@ -163,6 +165,7 @@ def main(config: dict, version: str, channel: str, local: bool): 'id': latest_data['id'] + 1, 'timestamp': int(time.time()), 'file': file_url, + 'changelog': changelog_url 'sha256': file_hash }