1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-25 21:29:14 +02:00

7 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
700ff34236
docs: improving docs ()
slowly but steadily fixing a billion warnings
2024-07-08 23:30:10 -03:00
Carlos Alexandro Becker
7656591088
docs: big cleanup ()
- standarize some notations
- remove since v1.* remarks, as we are now in v2
2024-06-19 11:44:22 -03:00
John Olheiser
6b86499655
feat: add force_token to config ()
As a follow-up to , this adds `force_token` to the config.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-04-23 13:53:45 -03:00
Carlos A Becker
cc584c8ab8
docs: add since
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-07 03:52:53 +00:00
Carlos Alexandro Becker
dc6a4e7e2f
feat: allow to forcefully use a token when multiple are set ()
This would allow to, when multiple tokens are set in the environment,
force which one you want to use.

The need for this comes from the fact gitea sets both `GITHUB_TOKEN` and
`GITEA_TOKEN`, and doesn't allow to easily disable either.

With this, users can add a `GORELEASER_FORCE_TOKEN=gitea` to force the
gitea client to be used.

I'm not sure what's the best name for this env yet, happy to hear
suggestions.

Also improved the `env_test.go` file a bit, as it was kinda messy with
env vars...

refs https://github.com/orgs/goreleaser/discussions/3900

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-05 16:33:22 -03:00
Carlos Alexandro Becker
bb170f3b9c
docs: better document multiple tokens error ()
closes 
2022-10-05 10:27:02 -03:00
Carlos Alexandro Becker
73867736a5
feat: improve multiple tokens error ()
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-05 22:25:29 -03:00