mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
73867736a5
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
16 lines
529 B
Markdown
16 lines
529 B
Markdown
# Multiple tokens found, but only one is allowed
|
|
|
|
GoReleaser infers if you are using GitHub, GitLab or Gitea by which tokens are provided.
|
|
If you have multiple tokens set, you'll get this error.
|
|
|
|
Here's an example:
|
|
|
|
```sh
|
|
⨯ release failed after 0.02s error=gmultiple tokens found, but only one is allowed: GITHUB_TOKEN, GITLAB_TOKEN
|
|
|
|
Learn more at https://goreleaser.com/errors/multiple-tokens
|
|
```
|
|
|
|
In this case, you either unset `GITHUB_TOKEN` or `GITLAB_TOKEN`.
|
|
You can read more about it in the [SCM docs](/scm/github/).
|