1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
054080a786
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-20 13:16:30 +00:00
Carlos Alexandro Becker
d524d93086
docs: standarizing docs defaults, since, etc (#3898)
- [x] if the default is the zero-value for the field, do not specify
- [ ] TODO: add a "how to read this docs" section somewhere explaining
that
- [x] if the change was introduced in a v1.x.0, say only v1.x
- [x] drop trail ending `.` from Since, Default, etc
- [x] wording: always use `Default: ` instead of `Defaults to` and
others
- [x] add a note to templateable fields
- [x] default value of a field, if its a string, always between single
quotes `'`

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-02 17:16:21 -03:00
Carlos A Becker
a3867c8ccb
docs: clarify token files a bit
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-28 10:19:29 -03:00
Marc Miller
311db136d6
docs: update docs to mention gitlab protected vars (#3528)
add warning about gitlab-ci protected variables for both CI/gitlab and
SCM/gitlab.
Failing to run the pipelines on a protected ref will cause goreleaser to
fail with `401: unauthorized` if for example, GITLAB_TOKEN is a
protected variable and the CI Job is running on a tag that is not
protected.

<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->


<!-- If applied, this commit will... -->

Add a warning about Gitlab CI and protected variables

<!-- Why is this change being made? -->

To prevent future users from running into issues with protected
variables.

<!-- # Provide links to any relevant tickets, URLs or other resources
-->

[Discord
Convo](https://discord.com/channels/890434333251362866/890434334803247126/1038130560293412955)
2022-11-04 16:04:19 -03:00
Sam Therapy
f1e63050d6
docs: Mention Gitea explicitly (#3489)
This PR adds explicit mention of Gitea in the AUR, Homebrew and Scoop
sections.

I have tested and tried using Homebrew and Scoop with a Gitea instance,
I have not tried the AUR but it should work the same.
2022-10-21 22:30:54 -03:00
Carlos Alexandro Becker
61f586e625
docs: version recent changes (#3367)
versioned all new options since v1.2 (late 2021).

Should be enough to fix #3317 for now.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-11 16:54:51 -03:00
Carlos A Becker
999cf91af4
docs: improved wording in many places 2022-08-28 16:15:24 -03:00
Carlos Alexandro Becker
5cfc78d92c
feat: gitlab option to use_job_token (#2993) 2022-08-16 00:39:13 -03:00
Randy Fay
176336f264
docs: miscellaneous usage and wording improvements (#3152)
* Make sure to do required go mod init before continuing or goreleaser command fails.

* how the release might look like -> what the release might look like

* How does it look like -> What does it look like

* you must therefore -> you must

* Don't use GO111MODULES in example since it's so obsolete

* modules -> verifiable builds

* got you covered -> has you covered
2022-06-10 23:04:16 -03:00
Alex
1c47d88009
docs: fix typo in gitlab page (#3006)
Just a simple spelling fix
2022-03-27 22:15:24 -03:00
Carlos A Becker
2e058ecd28
docs: gitlab project access token docs
closes #2738

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-19 17:50:36 -03:00
Evan
fe79b4b9da
feat: add support for GitLab Generic Packages (#2006) (#2745)
GitLab's Generic Package Repository allows uploading files
to GitLab, as an alternative to attachments.

Added the flag `use_package_registry` to the `gitlab_urls` config.
When false, the default, it will behave as before.
When true, it will publish the file to the Generic Package Registry.
Either way, the URL is bound to the release the same

Updated `go-gitlab` to version 0.52.2 which has the new
`GenericPackages.PublishPackageFile` function.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-01-06 22:11:11 -03:00
Engin Diri
a19ee5fc42
docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
Ernest Rekel
1b6a2f5e1c
docs: fix invalid gitlab personal access token URL (#2538) 2021-09-28 17:07:06 -03:00
Steve Azzopardi
68ff8e996f
feat: support templates for scm urls (#2465)
Background
---
When a git repository is hosted in multiple GitLab instances the
`.goreleaser.yml` needs to take in consideration both APIs endpoints. At
the moment it defaults to GitLab.com and you can override it with
`gitlab_urls` however this forces you to only support 1 GitLab instance.

We need this for
https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/14122
where we have a tool that is developed on GitLab.com but then mirrored
to an internal GitLab instance since we need it to operate GitLab.com
even when it's down.

Solution
---
Support templates like `{{ .Env.CI_SERVER_URL }}` for the
`gitlab_urls`, `github_urls`  and `gitea_urls` so it can use environment
variables and the same `.goreleaser` file can be used in multiple SCM
instances.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-09-09 01:42:13 +00:00
Carlos A Becker
6409998dc8
docs: improving docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-10 17:11:37 +00:00