post_release_notes

Function post_release_notes 

Source
pub async fn post_release_notes(
    client: &Octocrab,
    owner: &str,
    repo: &str,
    tag: &str,
    body: &str,
) -> Result<String>
Expand description

Post release notes to GitHub.

Creates or updates a release on GitHub with the provided body. If the release already exists, it will be updated. Otherwise, a new release is created.

§Arguments

  • client - Octocrab GitHub client
  • owner - Repository owner
  • repo - Repository name
  • tag - The tag name for the release
  • body - The release notes body

§Returns

The URL of the created or updated release.