Skip to content

Inconsistent parameter naming: tag, tag_name #28

@Richienb

Description

@Richienb

Checklist

Versions

+-- @octokit/rest@18.0.6
| +-- @octokit/core@3.2.0
| | +-- @octokit/auth-token@2.4.2
| | +-- @octokit/graphql@4.5.6
| | +-- @octokit/request@5.4.9
| | | +-- @octokit/endpoint@6.0.8
| | | +-- @octokit/request-error@2.0.2
| | +-- @octokit/types@5.5.0
| +-- @octokit/plugin-paginate-rest@2.4.0
| +-- @octokit/plugin-request-log@1.0.2
| `-- @octokit/plugin-rest-endpoint-methods@4.2.0

What happened?

octokit.repos.createRelease uses tag_name but octokit.repos.getReleaseByTag uses tag.

What did you expect to happen?

They should be consistently named.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: BlockedSome technical or requirement is blocking the issueType: SupportAny questions, information, or general needs around the SDK or GitHub APIs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions