1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-16 03:52:12 +02:00
Commit Graph

1287 Commits

Author SHA1 Message Date
Scott Leggett
df982a6a3b
docs: update the link to the go wiki page on first-class ports (#4490)
This change updates broken links to the old Go wiki to point to the new
location.
2023-12-21 09:15:55 -03:00
Carlos Alexandro Becker
c1b71396c6
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-12-20 15:47:45 -03:00
Luca Comellini
910b837f7d
docs: update snap link (#4486)
<!--

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... -->

Updates the link for snap tab completion
2023-12-19 10:30:18 -03:00
Carlos Alexandro Becker
522ab11bf3
docs: fix broken link 2023-12-17 14:53:08 -03:00
Carlos Alexandro Becker
711490dfc7
feat: aur dir (#4484)
closes #4482

<!--

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... -->

...

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

...

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

...

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-12-17 14:52:09 -03:00
Carlos Alexandro Becker
ee14837127
feat(homebrew): add os to dependency (#4481)
closes #4480
2023-12-15 12:14:01 -03:00
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
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
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
Jo
3dd77f6f3d
docs: fix deprecations notice about scoops.bucket (#4207)
`index` should be `bucket` for scoop
2023-07-25 07:58:28 -03:00
GennadySpb
8d9a693843
docs: fix typo in builds.md (#4205)
CCX to CXX
2023-07-25 07:57:54 -03:00
Carlos Alexandro Becker
4901108870
docs: update /pro 2023-07-20 13:22:30 +00:00
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
7c2a9878af
chore: update schema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-20 12:56:54 +00:00
Carlos Alexandro Becker
e3f494fdc9
fix: jsonschema for builds.hooks
closes #4197
2023-07-20 00:22:05 +00:00
Carlos Alexandro Becker
ca1657c2ec
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-18 14:02:31 +00:00
actions-user
08404f1c70 chore: docs auto-update 2023-07-18 12:00:47 +00:00
Carlos Alexandro Becker
3ed6751bb9
feat(nfpm): allow to template scripts names 2023-07-18 00:44:11 +00:00
Carlos Alexandro Becker
dbcebd00ae
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-17 11:56:19 +00:00
actions-user
551db3ac77 chore: docs auto-update 2023-07-15 19:56:08 +00:00
Carlos Alexandro Becker
609e7c5657
feat: metadata mod_timestamp (#4188)
closes #4167

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-15 16:53:52 -03:00
actions-user
b9fd6056ed chore: docs auto-update 2023-07-14 02:25:56 +00:00
Carlos Alexandro Becker
3c1ebe82cd
feat: support setting mod_timestamp in universalbinary (#4172)
refs #4167

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-13 23:23:41 -03:00
actions-user
0a086915d2 chore: docs auto-update 2023-07-14 01:58:23 +00:00
Carlos Alexandro Becker
cc18ad5184
feat(nfpm): update + rpm prefixes support
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-14 01:55:47 +00:00
Hidde Beydals
326a8c885e
feat: support make_latest for GitHub release (#4161)
This commit adds a `make_latest` boolean to the release configuration,
to allow signaling to GitHub if the release should be marked as latest.

Albeit being a boolean, the internal Go type is a string to allow
to distinguish an empty string (default behavior: `true`) from an
explicit `false`.

For more information around the GitHub API field, see

https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release

I did not include the `legacy` option, to not adopt something which
appears to be scheduled for removal in the future.

In addition, I opted for `make_latest` over `latest` because the
option is only available for GitHub. Which keeps the latter key
reserved for e.g. future use of a config option which is used across
Git providers.

Fixes #4159

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-14 01:45:57 +00:00
actions-user
a013a9d269 chore: docs auto-update 2023-07-14 01:44:21 +00:00
Hidde Beydals
9f6a810fbc
Support make_latest for GitHub release (#4161)
This commit adds a `make_latest` boolean to the release configuration,
to allow signaling to GitHub if the release should be marked as latest.

Albeit being a boolean, the internal Go type is a string to allow
to distinguish an empty string (default behavior: `true`) from an
explicit `false`.

For more information around the GitHub API field, see

https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release

I did not include the `legacy` option, to not adopt something which
appears to be scheduled for removal in the future.

In addition, I opted for `make_latest` over `latest` because the
option is only available for GitHub. Which keeps the latter key
reserved for e.g. future use of a config option which is used across
Git providers.

Fixes #4159

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-07-13 22:42:20 -03:00
actions-user
fdee23cae3 chore: docs auto-update 2023-07-13 17:23:36 +00:00
Nick Santos
3e03fea974
docs: fix yaml formatting on scoop deprecations (#4170)
docs: fix yaml formatting on scoop deprecations

right now, the formatting at 
https://goreleaser.com/deprecations#scoop
is slightly broken when you click 'after'
2023-07-08 11:32:51 -03:00
actions-user
3680b69396 chore: docs releases json auto-update 2023-07-07 18:05:39 +00:00
actions-user
8bd5fed246 chore: docs releases json auto-update 2023-07-07 17:33:02 +00:00
Carlos Alexandro Becker
0c5f6936bd
docs: fix spacing 2023-07-06 16:54:22 +00:00
Carlos Alexandro Becker
b786c0283a
docs: fix templated contents 2023-07-06 16:51:23 +00:00
actions-user
b9b3865108 chore: docs auto-update 2023-07-06 02:35:23 +00:00
Carlos Alexandro Becker
a324009978
fix(winget): add missing fields, more templates (#4164)
This adds missing fields:

- LicenseURL
- CopyrightURL
- Tags

As well as make several more fields templateable.


cc/ @twpayne

Co-authored-by: Tom Payne <tom.payne@flarm.com>
2023-07-05 23:33:18 -03:00
Carlos Alexandro Becker
5f7be841d8
fix(nix): description, path and homepage should allow templates (#4156)
- nix.description, nix.path, and nix.homepage should allow templates
- nix.path was defaulting to wrong value, fixed

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-29 14:15:53 -03:00
actions-user
b2ae5e2ccc chore: docs releases json auto-update 2023-06-29 13:18:18 +00:00
actions-user
47889f0d63 chore: docs releases json auto-update 2023-06-29 03:20:38 +00:00
actions-user
f2202b937a chore: docs releases json auto-update 2023-06-29 02:10:46 +00:00
Carlos Alexandro Becker
c9eff90a62
docs: clarify prebuilt.path and binary
closes #4143
2023-06-26 18:12:35 +00:00
Carlos Alexandro Becker
7d485d6399
fix(winget): default commit message
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-26 17:09:18 +00:00
Carlos Alexandro Becker
72119e4d83
chore: schema updates 2023-06-25 05:34:14 +00:00
actions-user
f4d28b0596 chore: docs auto-update 2023-06-25 05:18:36 +00:00
Carlos Alexandro Becker
2eaefa94b1
fix(winget): release notes should be optional
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-25 05:15:17 +00:00
actions-user
58ede9badd chore: docs auto-update 2023-06-22 12:10:28 +00:00
Carlos Alexandro Becker
f33a534825
fix: umask nfpm field (#4136)
nfpm was updated, but we never allowed to configure the umask field in
goreleaser.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-22 09:08:31 -03:00
Carlos Alexandro Becker
a130fe9cb2
docs: smallstep sponsorship
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-21 17:48:38 -03:00
Ville Skyttä
629df041d9
fix: do runner cleanups also on SIGINT and SIGTERM (#4133)
Behavior of the `EXIT` condition is not consistent between shells with
regards to abnormal exits and signals. This cleanup should occur always.

https://austingroupbugs.net/view.php?id=621
2023-06-21 17:08:08 -03:00
Carlos Alexandro Becker
7c658e57dc
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-20 12:43:18 +00:00
Carlos Alexandro Becker
94981fb8c0
chore: schema udpate
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-16 16:55:12 +00:00
Carlos Alexandro Becker
7d7e02b739
chore: update schema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-16 16:48:59 +00:00
Carlos Alexandro Becker
3e66f8418e
chore: update schema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-16 16:43:36 +00:00
actions-user
4d115cbf81 chore: docs auto-update 2023-06-16 16:33:12 +00:00
Carlos Alexandro Becker
e5c9338efd
feat: changelog.include (#4122)
closes https://github.com/goreleaser/goreleaser/issues/4111
refs https://github.com/orgs/goreleaser/discussions/4110
recreated #4115

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-16 13:31:23 -03:00
Ville Skyttä
3eecfddfc5
fix: runner tarball extract path (#4114)
Sigh, yet another regression from
4b78278292. I actually _did_ test already
with 10a627c196, but for some reason
failed to notice the error. Tested better now :/
2023-06-15 16:34:45 -03:00
Ville Skyttä
10a627c196
fix: runner tarball download URL (#4113) 2023-06-15 14:57:43 -03:00
Ville Skyttä
4b78278292
docs: runner script fixes (#4112)
Primary motivation here is to fix the runner script on Linux arm64; see
the first commit. The other two contain some while-at-it cleanups.
2023-06-15 14:34:09 -03:00
Ville Skyttä
265148c661
Merge pull request from GHSA-2fvp-53hw-f9fc
Also takes care of removing the temporary directory when done.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-15 11:45:14 -03:00
Carlos Alexandro Becker
0e83d32610
chore: schema update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-15 03:09:13 +00:00
actions-user
dce5649319 chore: docs auto-update 2023-06-15 03:02:19 +00:00
Carlos Alexandro Becker
6afdb49c12
feat: winget support (#4081)
this will add support to winget into goreleaser.

Basically, the plan is:

- we generate the 3 needed yaml files 
- we commit them to a repo

and that's it.

Initially, will probably have limited options support, and will only
have the default locale.

###### TODO

- [x] docs
- [x] review by someone who knows how this works?
- [x] test install somewhere
- [x] more tests maybe?
- [x] PR templates via API?
https://github.com/goreleaser/goreleaser/pull/4105
- [x] real project test 
- [x] setup goreleaser to pr to winget as well
- [x] document sync fork stuff
https://github.com/goreleaser/goreleaser/pull/4106

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-14 23:59:55 -03:00
Carlos Alexandro Becker
f070847a87
docs: add more info about opening prs (#4106)
add another include with information about PRs, to be included
everywhere `repository.md` is included, too.

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-14 23:34:41 -03:00
Carlos Alexandro Becker
2519581221
chore: update schema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-14 18:04:51 +00:00
Carlos Alexandro Becker
41536fd13d
docs: explain artifactory mode binary better
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-14 18:04:46 +00:00
actions-user
35b22106d5 chore: docs auto-update 2023-06-14 04:03:59 +00:00
Carlos Alexandro Becker
51592e1424
feat: envOrDefault template function (#4097)
You can achieve the same with `{{ with (index .Env "NAME") }}etc`, but
this looks cleaner.

refs #4096
2023-06-14 00:16:01 -03:00
actions-user
0805ec0553 chore: docs auto-update 2023-06-14 03:15:12 +00:00
Carlos Alexandro Becker
62b065dad0
feat: deprecate brews.tap, krews.index & scoops.bucket (#4099)
It should make goreleaser easier to use, as a `repository` is now always
called `repository`.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-14 00:13:21 -03:00
Carlos Alexandro Becker
56dfb8b5b0
docs: include markdown plugin (#4098)
I was really tired of copying and pasting that over and over again and
keeping it all in sync...

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-13 23:25:18 -03:00
Carlos Alexandro Becker
f33968f187
docs: mark flags as pro only
closes #4077

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-13 14:55:08 +00:00
Carlos Alexandro Becker
4bda54d8ea
docs: sync
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-13 14:55:08 +00:00
actions-user
eb5c3f09ae chore: docs auto-update 2023-06-13 12:56:22 +00:00
Carlos Alexandro Becker
e598d67ced
docs: fix broken link
closes #4092
2023-06-13 12:38:31 +00:00
Carlos Alexandro Becker
9b960b2668
docs: update snapcraft docs
refs #3930

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-12 12:10:53 +00:00
actions-user
6cb97c1429 chore: docs auto-update 2023-06-12 12:05:17 +00:00
Carlos Alexandro Becker
5c6c61ae8b
chore: schema update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-07 02:51:44 +00:00
actions-user
c9f2638d13 chore: docs auto-update 2023-06-06 16:56:48 +00:00
Carlos Alexandro Becker
eadd377730
feat: remove deprecated rlcp options (#4076)
removing another deprecated option

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-06 13:54:43 -03:00
actions-user
70d5e1e42e chore: docs auto-update 2023-06-06 14:48:30 +00:00
Carlos Alexandro Becker
66cee9493c
feat: remove deprecated replacements (#4075)
since this will be a late, big release, let's remove the deprecated
stuff that expired

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-06 11:46:02 -03:00
Carlos Alexandro Becker
3cfd5fe020
docs: update templates.md 2023-06-06 01:11:41 -03:00
Carlos Alexandro Becker
de599666b8
fix: deprecate brews.plist (#4073)
service has been available for a long time as well.

closes #3990
2023-06-06 01:02:40 -03:00
Ville Skyttä
bf350e049a
docs: add missing dash in ldflags default (#4070) 2023-06-05 13:09:16 -03:00
Ville Skyttä
ef690d07ef
style: spelling and grammar fixes (#4069)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-05 13:08:57 -03:00
Carlos Alexandro Becker
09411ea60a
feat: Checksums as a template field (#4064)
this would allow to add the checksums to the body of the release
contents, for example.


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

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-05 13:05:28 -03:00
Carlos Alexandro Becker
a7f850caf0
chore(pro): schema update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-31 18:47:01 +00:00
Carlos Alexandro Becker
1d92a36340
feat(scoop): allow to template description and homepage (#4057)
make `scoops.description` and `scoops.homepage` templateable as well.
2023-05-30 13:41:24 -03:00
actions-user
79a9315eff chore: docs auto-update 2023-05-30 11:51:56 +00:00
Carlos Alexandro Becker
ffad12eae4
feat(upx): allow to filter by goos, goarch, goarm, goamd64 (#4056)
closes #3993
closes #3982
2023-05-30 08:50:08 -03:00
Carlos Alexandro Becker
4a46eb088a
docs: improve nix docs 2023-05-30 03:29:26 +00:00
Carlos Alexandro Becker
1e56d38ef9
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-29 18:17:15 +00:00
Carlos Alexandro Becker
a80a4011ad
docs: improve nur help
closes #4050
2023-05-29 18:14:15 +00:00
actions-user
88fb3e4c6a chore: docs auto-update 2023-05-29 18:09:17 +00:00
Carlos Alexandro Becker
f6b9ccbd8f
feat(github): allow to open PRs as drafts (#4054)
This allows to open a pull requests as a draft.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-29 15:07:00 -03:00
actions-user
7c6d6561b5 chore: docs auto-update 2023-05-29 17:38:53 +00:00
Carlos Alexandro Becker
773cb91a7a
feat(github): allow to PR cross-repo (#4053)
This allows to open pull requests across repositories on nix, brew, krew
and scoop.

closes #4048

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-29 14:37:10 -03:00
Carlos Alexandro Becker
1a34c5dc98
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-29 13:16:51 +00:00
Carlos Alexandro Becker
d0cf457136
feat: improve verbose output (#4017)
- deprecates `--debug` in favor of `--verbose` which is clearer 
- improved some debug log outputs
- docs: update documentation to always use the `release` subcommand
(when it makes sense)
2023-05-27 00:18:39 -03:00
Carlos Alexandro Becker
e0dabc1cb9
feat(telegram): ability to choose msg format, mdv2escape (#4036)
this allows to choose parse mode between `HTML` and `Markdownv2`, and
adds a new template function, `mdv2escape`, to escape the characters
according to telegram docs:
https://core.telegram.org/bots/api#formatting-options


closes #4021
2023-05-27 00:17:02 -03:00
Carlos Alexandro Becker
3bb9a9a5b3
feat: allow to sign KO manifests (#4038)
add ko-generated manifests to the artifact list, this way they can be
signed later.

closes #4027

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-27 00:16:07 -03:00
Carlos Alexandro Becker
051381837d
feat(ko): allow to have an empty tag name (#4043)
Empty tag names will then be filtered out. This allows to have optional
tags depending on templates, for example,
`{{if not .Prerelease}}latest{{end}}`, among other use cases.

This already happens in the `dockers` section, and is now implemented in
`kos` too.

refs https://github.com/orgs/goreleaser/discussions/4042
2023-05-27 00:14:02 -03:00
Carlos Alexandro Becker
fa36cde69d
chore: schema update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-27 03:13:15 +00:00
actions-user
98ca0679a1 chore: docs auto-update 2023-05-26 02:09:10 +00:00
Carlos Alexandro Becker
99afc8d62e
feat: nix support (#4012)
very, very, very WIP implementation of nixpkgs for GoReleaser.

**Decisions made for this first version:**
- only linux and darwin, arm64, 386 and amd64
- only support pkgs from goreleaser-generated archives
- no support to push into default nixpkgs repository
- no support to automatically add the _maybe_ new pkg to the root
`default.nix`
- the generated nixpkg will be rather verbose, which shouldn't be too
much of an issue as it is autogenerated anyway

**TODOs**:
- [x] macos universal binary support
- [x] custom pkg path (e.g. pkgs/misc/foo/bar/default.nix)
- [x] handle archives with a folder in them
- [x] add more options: postInstall, ??

**Will be handled in future versions**:
- [ ] archives.format=binary support
- [ ] compile from source
- [ ] PR-ing into nixpkgs
- [ ] armv6l-linux & armv7l-linux support

closes #3537

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-25 23:07:10 -03:00
Carlos Alexandro Becker
46072c6047
docs: add banner asking for support to the website, release notes, etc
Sounds a bit like begging, but I was told it actually works.
Let's see...
2023-05-19 19:33:37 +00:00
Carlos Alexandro Becker
7da18ec8f4
docs: improve brew and krew docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-19 14:25:59 +00:00
Carlos Alexandro Becker
27f94523c8
fix(scoop): allow templating name and skip_upload
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-19 14:25:39 +00:00
Carlos Alexandro Becker
779cce7af6
docs: clarify replacements a bit more 2023-05-19 13:49:34 +00:00
Carlos Alexandro Becker
5c6a31c479
docs: fix cookbooks/contributing 2023-05-17 23:27:57 +00:00
Carlos Alexandro Becker
9fb855a204
docs: cookbook for monorepos, release.tag
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-17 23:22:36 +00:00
Jamie Tanna
8eea2ddf15
docs: pre-fill scopes for new Personal Access Token (#4010)
To make it easier for someone to create a new GitHub Personal Access
Token.
2023-05-15 09:26:08 -03:00
Carlos Alexandro Becker
05d25567f9
feat: allow to template dockers.skip_push and docker_manifests.skip_push (#4008) 2023-05-12 01:51:02 -03:00
Carlos Alexandro Becker
dcbe842893
Merge remote-tracking branch 'origin/main' 2023-05-12 01:05:53 +00:00
Michal Jan Matczuk
aecc9ea982
docs: homebrew link to resource-not-accessible-by-integration (#4003)
This adds information on token configuration in hopes that users who
read it will avoid the error.

Co-authored-by: Michał Matczuk <mmatczuk@gmail.com>
2023-05-11 09:47:00 -03:00
Carlos Alexandro Becker
1eced630a6
docs: fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-08 15:20:17 +00:00
actions-user
51c4501d6a chore: docs releases json auto-update 2023-05-07 03:37:42 +00:00
actions-user
2beed29de2 chore: docs releases json auto-update 2023-05-07 03:27:03 +00:00
Brian Strauch
b54d9d8aa4
docs: fix prebuilt binaries page (#3987)
<!--

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... -->

Fixes documentation for the "prebuilt binaries" section of the docs
2023-05-05 13:37:52 -03:00
actions-user
072173cdc5 chore: docs releases json auto-update 2023-05-05 04:52:44 +00:00
actions-user
bee9a91af0 chore: docs releases json auto-update 2023-05-05 04:45:31 +00:00
actions-user
c8e1e64d7e chore: docs releases json auto-update 2023-05-05 04:31:08 +00:00
Carlos Alexandro Becker
aaa9da33d5
fix: disable upx for now 2023-05-05 04:26:12 +00:00
actions-user
b35b8b29d9 chore: docs releases json auto-update 2023-05-05 03:44:34 +00:00
Carlos Alexandro Becker
de986a199e
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-04 02:33:06 +00:00
Carlos Alexandro Becker
e8be671703
docs: multi platform docker images
closes #3978
2023-05-04 02:28:12 +00:00
Carlos Alexandro Becker
f3aa9c79fa
docs: note about upx not in path
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-03 17:59:59 +00:00
Carlos Alexandro Becker
4330b522ea
feat: IsGitDirty template variable (#3967)
will only ever be true on snapshots or when ran with `--skip-validate`.
This should be useful as a ldflag, for example.
2023-05-02 01:04:18 -03:00
Carlos Alexandro Becker
59e7f1bd5a
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-02 02:48:51 +00:00
actions-user
282f9fbf52 chore: docs auto-update 2023-05-02 00:23:54 +00:00
Carlos Alexandro Becker
43ae761179
feat: native upx support (#3965)
this adds a new root-level `upx` config, so users can pack their
binaries with upx :)

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-01 21:22:05 -03:00
actions-user
02b584fc6f chore: docs auto-update 2023-05-01 00:31:30 +00:00
Carlos Alexandro Becker
eb823dee14
feat: allow multiple scoops (#3963)
This brings the scoops feature a bit more closer to similar pipes, like
brew and krew.

- It now supports multiple scoops
- It improves some validations to prevent wrong manifests
- It uses extra.binaries instead of extra.builds, as brew does too
	- extra.builds is now unused, will be removed in a subsequent PR
- More tests were added as well

closes #3941

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-04-30 21:29:36 -03:00
actions-user
b01f6ec14a chore: docs auto-update 2023-04-30 13:19:58 +00:00
Carlos Alexandro Becker
5bf42b726f
feat: publish taps, krews and scoops to regular git repositories (#3961)
basically redoing #3559 as it got impossible to merge with the many
changes since it was open (which is totally my fault for not merging it
earlier).

Anyhow, still a WIP, going also doing some other related improvements in
the way.

cc/ @graytonio

closes #3559
closes #3525

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Grayton Ward <graytonio.ward@gmail.com>
2023-04-30 10:18:13 -03:00
Carlos Alexandro Becker
cc2805b801
docs: improve wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-04-30 00:02:38 +00:00
Carlos Alexandro Becker
95b809dd13
feat: allow to template nfpms.package_name (#3960)
closes https://github.com/goreleaser/goreleaser/issues/3956
2023-04-29 15:30:52 -03:00
Carlos Alexandro Becker
cbca47dcad
docs: update go mod proxy page 2023-04-25 11:50:23 +00:00
actions-user
d1f611c845 chore: docs auto-update 2023-04-23 23:29:27 +00:00
Carlos Alexandro Becker
f3e1170a89
feat: log generated artifact sizes (#3954)
This adds a log with the size of the generated binaries/packages/etc in
the end of the build process, and also adds it to the artifacts.json

closes #3949

TODO:

- [x] tests
- [x] docs
- [ ] ??

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-04-23 20:27:16 -03:00
Matthew Bamber
3324f01bb5
docs(artifactory): Add details on custom_artifact_name (#3953)
This property can be used to omit the artifact name from the target URL,
which indirectly adds support for matrix parameters.

Fixes #3951
2023-04-23 14:22:25 -03:00
John Olheiser
6b86499655
feat: add force_token to config (#3936)
As a follow-up to #3910, this adds `force_token` to the config.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-04-23 13:53:45 -03:00
actions-user
3383397267 chore: docs releases json auto-update 2023-04-18 01:15:55 +00:00
actions-user
45ac57dc57 chore: docs releases json auto-update 2023-04-18 00:46:34 +00:00
actions-user
32b8dc132e chore: docs releases json auto-update 2023-04-14 13:17:24 +00:00
actions-user
f46cbddb6d chore: docs releases json auto-update 2023-04-14 13:06:26 +00:00
Carlos A Becker
272f18d877
chore: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-14 02:51:26 +00:00
Maxime Brunet
b36e30a071
fix(jsonschema): add binary to Archive format enum (#3924) 2023-04-10 21:51:26 -03:00
actions-user
8cf9f53e67 chore: docs releases json auto-update 2023-04-10 19:16:16 +00:00
actions-user
13d3771036 chore: docs releases json auto-update 2023-04-10 18:49:23 +00:00
actions-user
ffefd6c4ae chore: docs auto-update 2023-04-10 11:56:39 +00:00
Carlos A Becker
8a6de5cc55
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-08 02:51:56 +00:00
Carlos A Becker
c41d6de833
feat: support tgz and txz as archive formats
We support `.tar.gz` since the beginning, and `.tar.xz` for a long time.

`.tgz` and `.txz` are just commonly used shorthands for the same
formats.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-08 02:40:54 +00:00
actions-user
458bbb4a60 chore: docs auto-update 2023-04-08 01:55:43 +00:00
Carlos Alexandro Becker
0eb3e7975c
fix: use git-archive under the hood (#3904)
This reverts back to using `git archive` for the source archives... but
will keep supporting extra files.

##### How it works:

Basically, we run `git archive` as before.
Then, we make a backup of the generated archive, and create a new one
copying by reading from the backup and writing into the new one.
Finally, we write the extra files to the new one as well.

This only happens if the configuration does have extra files, otherwise,
just the simple `git archive` will be run.

PS: we can't just append to the archive because weird tar format
paddings et al.

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-07 22:53:15 -03:00
Carlos A Becker
57d3bdd965
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-07 15:08:48 +00:00
Carlos Alexandro Becker
282c42164e
feat: allow to pr scoop manifests (#3916)
follow up of https://github.com/goreleaser/goreleaser/pull/3903

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-07 11:48:49 -03:00
Carlos Alexandro Becker
5805c5d608
feat: allow to pr krew plugin manifests (#3915)
following up on #3903

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-07 11:48:35 -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
8b1c4ead60
feat: allow to PR homebrew taps (#3903)
closes #3485

also fixed a bug in file creation for github: it was always searching
for the file in the default branch

also, we don't need to create the file first, update does both create
and update.

TODO: implement the for krew, scoop, etc...

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-06 22:58:06 -03:00
Carlos Alexandro Becker
bf2e163ce4
docs: fix install's cosign steps (#3913)
updated to the cosign v2

cc/ @cpanato

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-06 14:16:16 -03:00
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
Carlos A Becker
62bd21ce8d
docs: improve docs on scoop.folder
refs #3899
2023-04-04 01:33:04 +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
6ae7b08188
docs: improve page on partial builds
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-31 17:38:04 +00:00
Carlos A Becker
f33a36f01f
docs: fix typo
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-30 13:26:03 -03:00
Carlos A Becker
f5bcdff445
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-29 22:23:53 -03:00
Carlos Alexandro Becker
37e92ce2f1
fix: clarify scoop no windows error (#3894)
improve error message and related docs

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-29 10:18:40 -03:00
Carlos A Becker
1b86abcfc6
chore: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-29 10:03:19 -03:00
Carlos Alexandro Becker
44f8fae305
feat: IsDraft template variable (#3888)
allows to use `{{ .IsDraft }}` in templates.

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-24 00:01:48 -03:00
Carlos Alexandro Becker
f82a32cd3a
feat: blobs.disable (#3884)
Allows to template-disable specific blob configurations.

Closes #3883
2023-03-23 08:59:04 -03:00
actions-user
21b594d009 chore: docs auto-update 2023-03-20 19:07:44 +00:00
Maxime Brunet
c47315fead
feat(ko): support labels and creation times (#3852)
* Add a `labels` key-value map to the `kos` config.
My interest is to be able to label the built images:
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#labelling-container-images
* Add creation times to allow using the commit timestamp as meaningful
creation time
2023-03-20 16:05:44 -03:00
actions-user
ec8134b500 chore: docs auto-update 2023-03-20 12:23:36 +00:00
howieyuen
1f56d8e088
feat: scoop shortcuts (#3846)
close: https://github.com/goreleaser/goreleaser/issues/3845
2023-03-20 09:21:44 -03:00
Carlos A Becker
98bb4ba23a
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-19 23:34:22 -03:00
Carlos Alexandro Becker
dec5fb8e17
feat(deps): bump github.com/goreleaser/nfpm/v2 from v2.26.0 to v2.27.1 (#3876)
latest and greatest, just released, nfpm version!

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-19 23:19:22 -03:00
actions-user
6bbd71f476 chore: docs releases json auto-update 2023-03-20 01:31:57 +00:00
Carlos Alexandro Becker
590eff32d2
feat: .Now template variable (#3853)
This will allow more customized templates using dates!

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-19 22:21:43 -03:00
Carlos A Becker
6e4c0e6abe
docs: update git.md
refs #3841

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-19 22:21:06 -03:00
Ivan Vandot
8877fe1ef4
feat: include prerelease suffix in git (#3841)
<!--

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... -->

This commit will fix bad version tag sort if there is a prerelease on
the same commit as a release tag. Current output is shown below
```
❯ git tag --points-at HEAD --sort=-version:refname --format='%(creatordate)%09%(refname)'
Thu Mar 2 21:38:51 2023 +0300   refs/tags/v1.13.0-rc3
Thu Mar 2 21:38:51 2023 +0300   refs/tags/v1.13.0
```
Test is changed to match current default value so it will fail without
this fix.

Default value `-` is set to the one that is described inside
[docs](https://goreleaser.com/how-it-works/?h=prerelease#how-it-works),
but people are still allowed to change it.

Output with fix applied
```
❯ git -c versionsort.suffix=- tag --points-at HEAD --sort -version:refname --format='%(creatordate)%09%(refname)'
Thu Mar 2 21:38:51 2023 +0300   refs/tags/v1.13.0
Thu Mar 2 21:38:51 2023 +0300   refs/tags/v1.13.0-rc3
```

<!-- # Provide links to any relevant tickets, URLs or other resources
-->
More info about `versionsort.suffix` can be found
[here](https://github.com/git/git/blob/master/Documentation/config/versionsort.txt#L5)

Docs as well both schemas are updated as well.

I am not sure if users should be allowed to change this option at all.
2023-03-19 22:19:40 -03:00
Carlos A Becker
52f45d759f
docs: remove deprecated note about setup-go-action
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-19 21:51:54 -03:00
actions-user
9f91bea921 chore: docs releases json auto-update 2023-03-20 00:33:05 +00:00
Carlos A Becker
b4b6496ea6
build: setup-go update 2023-03-17 16:04:47 -03:00
Carlos Alexandro Becker
3345f8c9c5
docs: add note about binary archives (#3867)
closes #3844
closes #3843 
closes #3862

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: fogfish <dmkolesnikov@gmail.com>
2023-03-13 09:39:41 -03:00
actions-user
5b9f2a7c0d chore: docs releases json auto-update 2023-03-10 13:57:04 +00:00
actions-user
ba2c93bf20 chore: docs releases json auto-update 2023-03-10 13:20:25 +00:00
Carlos A Becker
7285e04821
docs: clarify divider 2023-03-09 15:53:53 -03:00
actions-user
1a81111e90 chore: docs auto-update 2023-03-09 11:27:07 +00:00
Carlos Alexandro Becker
dd1315b0a7
fix(GO-2023-1621): update from go 1.20.1 to 1.20.2 (#3854) 2023-03-09 08:24:20 -03:00
actions-user
945b5453d9 chore: docs releases json auto-update 2023-03-07 01:22:45 +00:00
Carlos Alexandro Becker
a40eb15618
feat: add base template function (#3834)
refs #3833

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-04 12:16:37 -03:00
Carlos A Becker
29335c84a4
docs: updates
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-03 12:58:13 -03:00
Carlos A Becker
4c44ecedf8
docs: updates
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-03 12:57:54 -03:00
Carlos Alexandro Becker
2920de7cec
feat: templateable changelog.skip (#3830)
closes #3828
2023-03-03 09:49:41 -03:00
Carlos Alexandro Becker
9e21511300
feat: cosign update (#3821)
cosign v2 update!

- need to use `--yes` to auto-approve prompts

cc/ @cpanato anything else I'm missing?

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-02 15:11:43 -03:00
Carlos Alexandro Becker
d5151a6eb0
feat: ConventionalExtension on nFPM (#3822)
closes  #3799

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-02 14:35:55 -03:00
CC11001100
b4a4ca1716
docs: fix list item count (#3816)
Hello, I found a number error in the document when I consulted the
document, so I propose a pr to fix it
2023-03-01 09:46:56 -03:00
Carlos A Becker
b18339c5c6
docs: pro features
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-01 09:45:46 -03:00
Carlos A Becker
26cdc63b7e
docs: add missing file
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-01 09:42:12 -03:00
Carlos A Becker
adc279a15c
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-01 01:45:52 -03:00
Carlos Alexandro Becker
53838da8ac
fix: smtp mixup of env and yaml opts (#3815)
it was forcing to provide the same information as env and yaml.

this should fix it.

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-01 01:38:53 -03:00
Jamie Tanna
6eff3857a1
docs: add cross-compilation article (#3811) 2023-03-01 01:05:59 -03:00
Carlos A Becker
a5f2302fd9
chore: update docs/schema for pro
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-26 17:44:02 -03:00
Carlos Alexandro Becker
9dfa94cbb3
feat: scoop depends (#3797)
closes #3796

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-22 09:18:44 -03:00
Carlos Alexandro Becker
2c80588251
fix: better handle password protected keys (#3788)
password-protected keys would give path errors, which was simply not
right.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-20 13:18:12 -03:00
Carlos A Becker
6d3eb57c7a
fix: update to go 1.20.1 2023-02-17 10:44:02 -03:00
Carlos A Becker
76796e679d
chore: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-17 10:42:39 -03:00
Mohammad Abbasi
7f445e9f8d
docs: update snap ref links (#3775)
update snapcraft doc supported interfaces ref link
2023-02-13 14:51:48 -03:00
actions-user
9d91b5576a chore: docs auto-update 2023-02-09 12:13:39 +00:00
John Olheiser
6c21b01586
feat: add OpenCollective (#3753)
This PR adds [OpenCollective](https://opencollective.com) as an
announcement pipeline.

![Screenshot from 2023-02-03
00-11-18](https://user-images.githubusercontent.com/42128690/216525902-31e1f358-3c3d-4c1c-9d71-402170a8a0e6.png)

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-02-09 09:11:47 -03:00
Carlos Alexandro Becker
99ae082237
feat: finally deprecate the single build option (#3758)
This option was still being supported, even though undocumented, for
many years now.

I think it's finally time to sunset it for good, in 6 months :)

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-09 08:56:37 -03:00
actions-user
3142c99c7a chore: docs releases json auto-update 2023-02-07 19:47:42 +00:00
actions-user
90531fc879 chore: docs releases json auto-update 2023-02-07 18:12:36 +00:00
actions-user
e770e7b2ea chore: docs releases json auto-update 2023-02-07 12:47:26 +00:00
Carlos Alexandro Becker
81914757da
build: use go1.20 (#3757)
update everything to go 1.20

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-05 13:39:39 -03:00