Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jarulraj committed Jun 11, 2023
1 parent 3699e45 commit 6c6e1a5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions script/releasing/releaser.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,15 @@ def upload_assets(changelog, tag):
release_name = tag_name
release_message = f'{tag_name}\n\n {changelog}'

# Publish the release
release = repo.create_git_release(
tag=tag_name,
name=release_name,
message=release_message,
draft=False,
prerelease=False
)

# Retrieve the release by tag name
release = repo.get_release(tag_name)

Expand Down Expand Up @@ -413,6 +422,15 @@ def bump_up_version(next_version):
changelog = get_changelog(release_date)
print(changelog)

# UPDATE CHANGELOG
append_changelog(changelog, current_version_str_without_dev)

# RELEASE VERSION
release_version(current_version_str_without_dev)

# PUBLISH WHEELS ON PYPI
publish_wheels(current_version_str_without_dev)

# UPLOAD ASSETS ON GITHUB
upload_assets(changelog, current_version_str_without_dev)

Expand Down

0 comments on commit 6c6e1a5

Please sign in to comment.