Skip to content

How to configure for GitHub Enterprise Server Releases #1114

Closed
@berndku

Description

@berndku

Feature Request

Description

Publishing a release on GitHub enterprise server (GHES) results in an error message when setting semantic_release.remote.type = github.

404 Client Error: Not Found for url: https://api.github.com/repos/<org>/<repo>/releases

Reason is that the URI for GHES is different than for github.com.

Use cases

Support users on GHES.

Possible implementation

  • Add a new type for ghes
  • Add a new configuration parameter for the GHES HOSTNAME
  • Build the URI for creating the release like described here. Scheme: http(s)://HOSTNAME/api/v3/repos/OWNER/REPO/releases

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions