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

994 Commits

Author SHA1 Message Date
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
Carlos Alexandro Becker
491bf50d69
chore: schema update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-17 17:24:09 +00:00
Carlos Alexandro Becker
8ef8babedf
feat(winget): support dependencies (#4299)
closes #4296
2023-09-17 14:22:39 -03:00
Carlos Alexandro Becker
58842b8e82
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-17 17:05:14 +00:00
Carlos Alexandro Becker
5767a3bd1e
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-17 03:00:02 +00:00
Carlos Alexandro Becker
622c426eb3
refactor: --skip=item (#4272)
Laying the ground work to allow skipping more pipes without adding new
flags et al.

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-16 17:01:20 -03:00
Carlos Alexandro Becker
85c86d61cf
fix: chocolatey push failing (#4300)
tested this on a fake repo, and it seems to fix the problem...

seems like choco does not like when the path has `/` in it, so passing
it through `filepath.Clean` fixes it.

also improved tests a bit, and made a small docs fix.


closes https://github.com/goreleaser/goreleaser/issues/4292
2023-09-16 14:08:11 -03:00
Carlos Alexandro Becker
fcd5abfe68
docs: update goreleaser-action (#4297)
action v5 was released the other day

---------

Co-authored-by: CrazyMax <github@crazymax.dev>
2023-09-15 09:23:19 -03:00
Carlos Alexandro Becker
027ddd3b17
docs: fix broken links 2023-09-15 01:06:58 +00:00
Carlos Alexandro Becker
3633b71eea
docs: fix some broken links (#4295)
fixes some bad links.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-14 21:54:55 -03:00
Carlos Alexandro Becker
f62adf23ff
docs: blog (#4264)
Starting to move the blog from medium to mkdocs!

closes #3503

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-14 13:53:40 -03:00
Vedant
646eb82f9a
docs: fix link to homebrew formula on install page (#4294)
Fix link to homebrew formula on `install` page
2023-09-14 13:48:22 -03:00
Carlos Alexandro Becker
d510abcd5e
docs: improve docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-04 14:12:01 +00:00
Carlos Alexandro Becker
63e75edf83
fix: jsonschema for git.tag_sort
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-04 14:11:55 +00:00
actions-user
dbf8e39c67 chore: docs auto-update 2023-09-01 18:12:40 +00:00
Carlos Alexandro Becker
62cc45aa50
feat: templates in upx.enabled (#4269)
refs https://github.com/orgs/goreleaser/discussions/4268
2023-09-01 15:10:29 -03:00
actions-user
94a65fcda1 chore: docs auto-update 2023-08-27 18:58:52 +00:00
Carlos Alexandro Becker
ecdbf5877c
feat: git.ignore_tags (#4255)
Allows to ignore tags that match the given regex expressions.
2023-08-27 15:57:03 -03:00
Carlos Alexandro Becker
76f2b81bb5
docs: update changelog.md
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-24 12:26:32 +00:00
actions-user
5ea03f3d67 chore: docs auto-update 2023-08-15 14:17:21 +00:00
actions-user
4526c5b681 chore: docs releases json auto-update 2023-08-10 02:01:35 +00:00
actions-user
56c9d09a1b chore: docs releases json auto-update 2023-08-10 01:23:44 +00:00
Carlos Alexandro Becker
8337eb3d48
chore: update schema 2023-08-09 13:12:33 +00:00
Carlos Alexandro Becker
c06ba3a94f
feat: publishers.disable (#4239)
allows to disable a specific custom publisher based on a template, akin
to other pipes.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-08 22:43:09 -03:00
Carlos Alexandro Becker
acfc1b2274
docs: update schema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-08 12:33:22 +00:00
Carlos Alexandro Becker
03622ab59c
chore: schema update 2023-08-04 14:49:34 +00:00
Carlos Alexandro Becker
635b051ad5
docs: fix migration example 2023-08-03 12:32:46 +00:00
Carlos Alexandro Becker
d0a86edd90
feat(snapcraft): allow to disable (#4228)
allows to disable a snapcraft configuration based on a template, e.g. if
snapshot, nightly, etc
2023-08-03 09:17:26 -03:00
Carlos Alexandro Becker
d65493abf8
chore: update schema 2023-08-03 02:18:08 +00:00
actions-user
802beb66f3 chore: docs auto-update 2023-07-31 12:42:23 +00:00
Carlos Alexandro Becker
d7921d4638 feat(brew): extra_install
Allows to add manpages and shell completion installs without overriding
the default bin.install.
2023-07-31 09:40:35 -03:00
Carlos Alexandro Becker
dbf7f57928
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-30 02:34:05 +00:00
Carlos Alexandro Becker
a73937baf0
docs: remove newsletter link
revue is dead since january 💀
2023-07-27 12:48:33 +00:00
Carlos Alexandro Becker
88b63048b1
docs: update 2023-07-27 01:19:45 +00:00
Carlos Alexandro Becker
1d2868b40f
docs: update 2023-07-26 14:48:21 +00:00
actions-user
3aac6b4f6a chore: docs auto-update 2023-07-26 14:35:43 +00:00
Carlos Alexandro Becker
94f080d77c feat(nix): extraInstall 2023-07-26 11:32:37 -03:00
Carlos Alexandro Becker
e672699b0a feat(nix): runtime dependencies
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-26 11:32:37 -03:00
Carlos Alexandro Becker
43fbf18aaa
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-25 13:04:06 +00:00