create_github_release
Creates a GitHub release for a specified repository and tag, providing details like release name and body content. Handles errors by logging and returning messages if the process fails.
Instructions
Creates a GitHub release for the specified repository and tag.
Args:
repo_owner (str): The owner of the GitHub repository.
repo_name (str): The name of the GitHub repository.
tag_name (str): The tag name to create the release from.
release_name (str): The name of the release to be created.
body (str): The description or body content of the release.
Returns:
str: A success message if the release is created successfully, or an error message if an exception occurs.
Error Handling:
Logs and returns an error message if the release creation fails due to an exception.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| release_name | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes | ||
| tag_name | Yes |