Token selection logic is not good #2732
doronbehar
started this conversation in
Ideas
Replies: 1 comment
-
should be better after #2733 Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the first time I ran
goreleaser
, I encountered this very unclear error message:And I didn't understand what's wrong with my configuration file. Apparently, after reading the source code I read this:
https://github.com/goreleaser/goreleaser/blob/main/internal/pipe/env/env.go#L81-L104
And I realized that I have to unset one of my
GIT{LA,HU}B_TOKEN
environment variables, which are both set by default in my shell rc files.I think the error message could at least be improved, or you can default to the GitHub token?
Beta Was this translation helpful? Give feedback.
All reactions