1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/www/docs
Carlos Alexandro Becker dc6a4e7e2f
feat: allow to forcefully use a token when multiple are set (#3910)
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
..
ci docs: remove deprecated note about setup-go-action 2023-03-19 21:51:54 -03:00
cmd docs: updates 2023-03-03 12:58:13 -03:00
cookbooks docs: add cross-compilation article (#3811) 2023-03-01 01:05:59 -03:00
customization docs: improve docs on scoop.folder 2023-04-04 01:33:04 +00:00
errors feat: allow to forcefully use a token when multiple are set (#3910) 2023-04-05 16:33:22 -03:00
limitations docs: typo fix 2022-12-19 23:51:17 -03:00
overrides chore: verify website for mastodon (#3576) 2022-11-21 09:36:15 -03:00
scm docs: standarizing docs defaults, since, etc (#3898) 2023-04-02 17:16:21 -03:00
static docs: update 2023-03-29 22:23:53 -03:00
contributing.md build: use go1.20 (#3757) 2023-02-05 13:39:39 -03:00
deprecations.md feat: finally deprecate the single build option (#3758) 2023-02-09 08:56:37 -03:00
eula.md docs: make co-marketing more strict on eula (#3583) 2022-11-22 23:54:11 -03:00
how-it-works.md
index.md
install.md feat: cosign update (#3821) 2023-03-02 15:11:43 -03:00
intro.md docs: rename .goreleaser.yml to .goreleaser.yaml in intro (#3680) 2023-01-03 22:23:56 -03:00
links.md docs: mastodon 2022-11-20 13:20:26 -03:00
post-checkout.md docs: update post checkout page 2022-10-06 15:02:56 -03:00
pro.md docs: update 2023-03-29 22:23:53 -03:00
quick-start.md docs: reference --clean instead of --rm-dist everywhere 2023-01-30 23:06:46 -03:00
security.md docs: added /security 2022-11-08 00:05:36 -03:00
sponsors.md docs: improve sponsors page 2022-09-03 23:27:04 -03:00
users.md chore: docs auto-update 2023-01-11 12:20:10 +00:00