GoReleaser requires an API token with the
repo scope selected to deploy the artifacts to GitHub. You can create one here.
This token should be added to the environment variables as
Alternatively, you can provide the GitHub token in a file. GoReleaser will check
~/.config/goreleaser/github_token by default, but you can change that in the
Note that the environment variable will be used if available, regardless of the
You can use GoReleaser with GitHub Enterprise by providing its URLs in the
.goreleaser.yaml configuration file. This takes a normal string, or a template value.
# set to true if you use a self-signed certificate
If none are set, they default to GitHub's public URLs.
Here's an example of what the release might look like: