1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00

1328 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
233c4bc26e
docs: fix changelog subgroups docs 2023-12-05 22:42:17 -03:00
Carlos Alexandro Becker
22fa9947c8
feat: allow to template builds.gobinary (#4454)
closes #4453

TODO: tests
2023-12-04 23:00:11 -03:00
Carlos Alexandro Becker
7e481967b3
docs: update users, blog posts divider 2023-12-04 13:51:23 -03:00
Jeffrey Cafferata
532879ea92
docs: Removed the duplicate GoReleaser Pro entry (#4456)
Removed the duplicate GoReleaser Pro entry from the changelog.


fdf73bda9e/www/docs/customization/changelog.md (L81-L84)
2023-12-04 13:31:38 -03:00
Carlos Alexandro Becker
b682fdf7bb
docs: mention that snaps cant be built inside docker
refs https://github.com/goreleaser/goreleaser-cross/issues/59
2023-11-29 23:36:36 -03:00
Carlos Alexandro Becker
142b94c533
fix: improve chocolatey no archive error handling and docs
closes #4450
2023-11-29 23:27:05 -03:00
Carlos Alexandro Becker
d89557b277
docs: install should say the required Go version
refs https://github.com/orgs/goreleaser/discussions/4443
2023-11-29 13:12:18 -03:00
ixje
149b178094
docs: update deprecated --skip-publish release flag (#4449)
Calling `goreleaser release --skip-publish` as according to the [dry run
documentation](https://goreleaser.com/quick-start/?h=dry+run#release-flags)
gives the following deprecation warning
```
• DEPRECATED: --skip-publish was deprecated in favor of --skip=publish, check https://goreleaser.com/deprecations#-skip for more details
```

This updates the documentation
2023-11-29 09:31:53 -03:00
wrench
d2c0e4c6ad
docs: fix typo (#4447) 2023-11-28 11:08:53 -03:00
Carlos Alexandro Becker
64916314c7
docs: update users.md 2023-11-27 18:38:06 -03:00
Carlos Alexandro Becker
25a054c5e1
feat: improve --single-target (#4442)
closes #4437 
closes #4426

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-27 18:29:50 -03:00
Libor Ondrušek
6bce81c0be
docs(azblob): correct auth to Azure storage service (#4439)
I corected documentation for upload blobs to azure Storage Service from
[used
library](53ccd8db26/blob/azureblob/azureblob.go (L30)).
2023-11-24 20:17:45 -03:00
Carlos Alexandro Becker
a5f767832a
SBOM improvements (#4430)
refs https://github.com/orgs/goreleaser/discussions/4425
2023-11-23 17:40:25 -03:00
Gabriel Cipriano
8f6b16f6b5
feat: validate ko's main path (#4429)
closes #4382
2023-11-19 14:54:18 -03:00
laurentsimon
b149223223
feat(docs): Update command in SLSA verification blog post (#4420)
Great blog post! I added it to the documentation of the
https://github.com/slsa-framework/slsa-github-generator :)

This PR fixes the command to verify SLSA provenance in the blog post
https://goreleaser.com/blog/slsa-generation-for-your-artifacts/.

The verification for binary artifacts is correct.

The verification for container images is incorrect:
- The command verifies the identity of the builder only, but it should
also verify the source repository
- The command does not verify the release version, which _may_ allows an
attacker to perform a downgrade attack. (not a super big deal, but still
useful to close this gap if the image was built on a tag trigger)

This follows the same steps on argoCD's documentation
https://argo-cd.readthedocs.io/en/stable/operator-manual/signed-release-assets/#verification-of-container-image-with-slsa-attestations

Thanks!

---------

Signed-off-by: laurentsimon <laurentsimon@google.com>
2023-11-13 12:35:44 -03:00
actions-user
c4a33d5b83 chore: docs auto-update 2023-11-09 00:13:54 +00:00
actions-user
17393af9fa chore: docs auto-update 2023-11-07 01:07:54 +00:00
Carlos Alexandro Becker
4f17fba173
build: fix setup-task rate limit
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-07 01:05:02 +00:00
Carlos Alexandro Becker
6b65ea5ca1
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-07 00:39:45 +00:00
Ernst Widerberg
d2d910f54f
docs: fix typos (#4406) 2023-11-06 09:14:07 -03:00
Carlos Alexandro Becker
bc4523d4fe
docs: fix discord link
closes #4357
2023-11-04 02:42:53 +00:00
Carlos Alexandro Becker
74a9317c83 fix: properly handle multi-module projects with a go.work file
closes #4379
2023-11-03 23:40:07 -03:00
Torsten Curdt
49f39736ef more explicit error message for docker buildx context error 2023-11-03 22:00:17 -03:00
Torsten Curdt
cb656a35ec spelling fix 2023-11-03 22:00:17 -03:00
Carlos Alexandro Becker
178ce2af58 build: only update docs, schema, after a release
closes #4402
2023-11-03 21:37:39 -03:00
Carlos Alexandro Becker
8cd3104f1c
chore: update schema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-02 20:38:07 +00:00
Carlos Alexandro Becker
3a3cf610f8
docs: conventional file name on armv6
refs https://github.com/charmbracelet/meta/pull/116
2023-11-02 12:32:31 +00:00
actions-user
9c54dda3ba chore: docs auto-update 2023-10-31 21:36:51 +00:00
actions-user
c5de7c54ee chore: docs auto-update 2023-10-31 18:12:45 +00:00
Carlos Alexandro Becker
bc9f77b0e5 fix: schema enum options for dockers.use
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-10-25 22:51:30 -03:00
Carlos Alexandro Becker
de1c52b466 fix: improve run script
- if `VERSION` ends with `-pro`, set `DISTRIBUTION` to `pro`
- if `DISTRIBUTION` is `pro`, and `VERSION` does not have the `-pro`
  suffix, add it

closes #4374
2023-10-25 22:51:30 -03:00
Batuhan Apaydın
a932dd85de
SLSA Provenance generation blog post (#4361)
kindly ping @Dentrax

Signed-off-by: Batuhan Apaydin <batuhan.apaydin@chainguard.dev>
2023-10-11 09:41:49 -03:00
actions-user
95e5ef6226 chore: docs auto-update 2023-10-10 12:39:32 +00:00
Carlos Alexandro Becker
b7218b0ab0
docs: fix broken link 2023-09-29 00:49:02 +00:00
Carlos Alexandro Becker
d7775f5b05
docs: organizing docs a bit better (#4328)
the sidebar is kinda out of control... too many items... tried to
organize it a bit better...

let me know what you think :D

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-27 14:06:49 -03:00
Carlos Alexandro Becker
85e1458d6c
docs: release cadence post (#4329)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-27 14:06:37 -03:00
actions-user
9a645b4121 chore: docs releases json auto-update 2023-09-26 12:53:47 +00:00
actions-user
cac55e0c4c chore: docs releases json auto-update 2023-09-26 11:45:07 +00:00
actions-user
5860c2a55f chore: docs releases json auto-update 2023-09-25 18:15:14 +00:00
actions-user
b552487f6a chore: docs releases json auto-update 2023-09-25 17:27:40 +00:00
Carlos Alexandro Becker
74b226db47
docs: reword
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-24 19:04:07 +00:00
Carlos Alexandro Becker
41ce3c0304
fix: git.ignore_tags not working (#4322)
also regex is not possible there currenctly, didnt realized it at the
time

refs #4255

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-23 02:37:48 -03:00
Carlos Alexandro Becker
800ee694f6
docs: update announcement blog post 2023-09-23 05:31:42 +00:00
Carlos Alexandro Becker
e194d4cfca
docs: draft 1.21 announcement (#4310)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-23 00:50:05 -03:00
actions-user
1318fdc0cf chore: docs releases json auto-update 2023-09-23 03:44:11 +00:00
actions-user
af276549f7 chore: docs releases json auto-update 2023-09-23 03:02:58 +00:00
Carlos Alexandro Becker
8794dc5955
docs: udpate jsonschema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-22 02:20:49 +00:00
Carlos Alexandro Becker
d5a81df6c5
docs: improve tmpl.map
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-20 19:21:30 +00:00
Jo
24347358e9
feat: add map and indexOrDefault template functions (#4317)
Add a new function `map` to template functions.

`map` creates a map from a list of pairs of key values, then you can
convert a key to a value using `.Get`. This simplifies writing
key-mapping templates. For example, the defaule `archives.name_template`

```yaml
name_template: >-
    {{ .ProjectName }}_
    {{- title .Os }}_
    {{- if eq .Arch "amd64" }}x86_64
    {{- else if eq .Arch "386" }}i386
    {{- else }}{{ .Arch }}{{ end }}
    {{- if .Arm }}v{{ .Arm }}{{ end }}
```

becomes

```yaml
name_template: >-
  {{ $arch := map "amd64" "x86_64" "386" "i386" -}}
  {{ .ProjectName }}_
  {{- title .OS }}_
  {{- $arch.Get .Arch .Arch }}
  {{- if .Arm }}v{{ .Arm }}{{ end }}
```

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-20 16:03:46 -03:00
Carlos Alexandro Becker
eab8a0d07b
docs: clarify includes 2023-09-19 00:31:05 +00:00