Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tag_name to update_release documentation #985

Merged
merged 1 commit into from
Feb 22, 2018
Merged

Add tag_name to update_release documentation #985

merged 1 commit into from
Feb 22, 2018

Conversation

smeriwether
Copy link

The edit_release endpoint accepts a tag_name so that should be documented here.

Furthermore, when using the update_release method without specifying a tag_name, the tag in Github is overwritten.

For example, my tag was "v4.0" and after calling update_release without a tag name it became "untagged-{commit-hash}".

The [edit_release](https://developer.github.com/v3/repos/releases/#edit-a-release) endpoint accepts a tag_name so that should be documented here.

Furthermore, when using the `update_release` method without specifying a tag_name, the tag in Github is overwritten. 

For example, my tag was "v4.0" and after calling `update_release` without a tag name it became "untagged-{commit-hash}".
@tarebyte tarebyte merged commit e06c39a into octokit:master Feb 22, 2018
@tarebyte
Copy link
Member

Thanks for the contribution @smeriwether !!

Furthermore, when using the update_release method without specifying a tag_name, the tag in Github is overwritten.

For example, my tag was "v4.0" and after calling update_release without a tag name it became "untagged-{commit-hash}".

I don't think that's the behavior, are you able to reproduce this using curl? It may work differently depending on whether the tag is published or unpublished.

@tarebyte
Copy link
Member

tarebyte commented May 8, 2018

This has been released as part of https://github.com/octokit/octokit.rb/releases/tag/v4.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants