1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
Commit Graph

822 Commits

Author SHA1 Message Date
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
Carlos A Becker
72bd87dc41
docs: improve changelog 2023-02-02 21:58:13 -03:00
Carlos A Becker
92377e8b6e
docs: twitter non-free api warning
refs #3751

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-02 21:06:34 -03:00
actions-user
3461f1f871 chore: docs releases json auto-update 2023-02-02 03:51:07 +00:00
actions-user
b7900887be chore: docs releases json auto-update 2023-02-02 03:20:00 +00:00
Carlos A Becker
aa3aff3cfe
docs: improve git dirty err page
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-30 23:25:23 -03:00
Carlos A Becker
53fdcd7709
docs: reference --clean instead of --rm-dist everywhere
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-30 23:06:46 -03:00
actions-user
9b462fedf3 chore: docs releases json auto-update 2023-01-31 01:52:26 +00:00
actions-user
0b290bbeb6 chore: docs releases json auto-update 2023-01-31 00:24:53 +00:00
Yulian Kuncheff
5c4c7de539
docs: fix deprecation notice for --rm-dist -> --clean (#3733)
<!-- If applied, this commit will... -->
Fix the deprecation notice page to reference the correct new flag
replacing `--rm-dist`

...

<!-- Why is this change being made? -->
The documentation for this deprecation seems incorrect, and live on the
main page.

...

<!-- # Provide links to any relevant tickets, URLs or other resources
-->
https://goreleaser.com/deprecations/#-rm-dist
...

I used this commit to reference what it was being changed to:
4954815ae4
2023-01-30 20:56:40 -03:00
Jo
050f5a43c2
docs: fix typo in changelog page (#3730)
Fix a typo in https://goreleaser.com/customization/changelog/
2023-01-30 10:04:39 -03:00
Carlos A Becker
750664f449
docs: fix nfpm override depends
should be dependencies

closes #3721

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-27 21:45:58 -03:00
Carlos A Becker
98e3a7ff71
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-25 14:17:48 -03:00
actions-user
b036b49c52 chore: docs auto-update 2023-01-24 01:28:55 +00:00
Carlos Alexandro Becker
afc38b79a9
feat: allow to template release.disable and releaser.skip_upload (#3710)
closes https://github.com/goreleaser/goreleaser/issues/3705

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-23 22:27:01 -03:00
Carlos Alexandro Becker
d386cbf3ce
feat: allow to template snaps.grade (#3712)
refs
d73320559b

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-23 22:05:24 -03:00
Carlos A Becker
a1876e3eca
docs: GO_VERSION in the examples might cause confusion
refs #3709

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-22 17:23:31 -03:00
Carlos A Becker
d6504aaa1d
docs: keep --rm-dist for now
refs #3702

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-21 18:25:37 -03:00
Carlos A Becker
3eb759f039
docs: keep --rm-dist on docs for now
refs #3702
2023-01-21 18:23:50 -03:00
Carlos Alexandro Becker
d18adfb57e
feat: deprecate --rm-dist in favor of new --clean flag (#3702)
After talking with @perylemke, we realized that probably most people
will likely expect it to be called --clean instead of --rm-dist, as its
more similar to the popular `make clean` task.

This adds the --clean flag, and make the --rm-dist one deprecated.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-20 23:47:08 -03:00
Carlos A Becker
1381e02f59
docs: quote strings in docker manifests docs 2023-01-20 12:01:08 -03:00
Carlos A Becker
9c5b4d56d9
docs: consistent formatting
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-16 23:48:34 -03:00
Carlos A Becker
44012cc2a0
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-16 22:45:17 -03:00
actions-user
895c597864 chore: docs auto-update 2023-01-17 01:36:57 +00:00
Carlos Alexandro Becker
2450746e5c
feat: add ko support (#3653)
continuing the PR by @developer-guy 


- [x] should be a publisher, as it does publish the images it builds
every time
- [x] `Default` method does not work
- [x] the `fromConfig` thing should probably be on the defaults, too
- [x] wire `--skip-ko`
- [x] documentation
- [x] more tests
- [x] use same registry as docker tests does
- [ ] see if we can make the log output match goreleaser's
- [ ] ??

closes #2556
closes #3490

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: actions-user <actions@github.com>
Co-authored-by: Jason Hall <jason@chainguard.dev>
Co-authored-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2023-01-16 22:34:49 -03:00
actions-user
4ec9509951 chore: docs releases json auto-update 2023-01-11 12:35:26 +00:00
actions-user
870c0c56e7 chore: docs releases json auto-update 2023-01-11 12:30:55 +00:00
actions-user
951cab987a chore: docs auto-update 2023-01-11 12:20:10 +00:00
Carlos A Becker
17cd672149
build: use go 1.19.5
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-11 09:18:25 -03:00
Carlos A Becker
cb13b55616
docs: apk key name template
refs #3667

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-11 09:13:38 -03:00
actions-user
87b903ce95 chore: docs releases json auto-update 2023-01-08 03:23:51 +00:00
actions-user
51586c70a8 chore: docs releases json auto-update 2023-01-08 03:03:28 +00:00
Carlos A Becker
95c4c86806
docs: update changelog docs and schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-07 23:45:56 -03:00
Carlos A Becker
8e3567ed0a
refactor: rename ChangeLogGroup to ChangelogGroup
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-07 18:37:44 -03:00
Carlos Alexandro Becker
82be112be1
feat: allow to template telegram.chat_id (#3686)
closes #3682

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-07 17:20:11 -03:00
Carlos A Becker
0286cf7163
fix: schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-07 17:10:46 -03:00
Carlos A Becker
9a3e23db00
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-07 16:56:04 -03:00
Carlos A Becker
13fda95e0e
docs: update schema for changelog.sort
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-04 22:31:46 -03:00
Craig Pastro
2af9bdb689
docs: rename .goreleaser.yml to .goreleaser.yaml in intro (#3680)
<!--

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

Every other instance I have seen so far uses `.yaml` so, for
consistency, let's rename this one?

<!-- # Provide links to any relevant tickets, URLs or other resources
-->
2023-01-03 22:23:56 -03:00
Carlos A Becker
99e1ac1d4e
docs: repology img
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-02 22:19:17 -03:00
Carlos A Becker
938edc4131
docs: fix releases.json
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-02 15:16:33 -03:00
actions-user
cb070a096f chore: docs releases json auto-update 2023-01-02 15:10:52 +00:00
actions-user
064839c55d chore: docs releases json auto-update 2023-01-02 13:56:51 +00:00
actions-user
5aebcb2885 chore: docs releases json auto-update 2023-01-02 13:30:10 +00:00
actions-user
a749bbfaf7 chore: docs releases json auto-update 2023-01-02 13:09:36 +00:00
Carlos Alexandro Becker
ee51a5afb0
fix: do not put binaries in /usr/local/bin (#3677) 2022-12-31 12:17:38 -03:00
Carlos Alexandro Becker
232c982fb0
docs: improve build (#3674)
- generate releases.json et al on our github actions workflow
- use those when building and also on our `run` script
- new releases will dispatch the workflow so it re-generates the needed
files

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 14:55:45 -03:00
Carlos A Becker
2ae0eaf4dd
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 14:21:04 -03:00
Carlos A Becker
71000969c0
docs: improve docs build/organization
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-28 23:41:46 -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
Carlos A Becker
ee9816bf7b
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-27 18:36:05 -03:00
actions-user
fccdea0e3b chore: docs auto-update 2022-12-27 20:44:20 +00:00
Carlos Alexandro Becker
a209757ad2
feat: better archives relative paths (#3656)
with this patch, a config like:

```yaml
archives:
  - format: tar.gz
    # this name template makes the OS and Arch compatible with the results of uname.
    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 }}
    rlcp: true
    files:
      - src: "build/**/*"
        dst: .

nfpms:
  - package_name: foo
    contents:
      - src: "build/**/*"
        dst: usr/share/foo
    formats:
      - apk

```

will eval this:

<img width="1384" alt="CleanShot 2022-12-21 at 22 21 00@2x"
src="https://user-images.githubusercontent.com/245435/209034244-7c31b5f7-cfcd-4825-bb2f-7dd463c5286a.png">

as much as I would like to make this the default, it would be a breaking
change, so we really can't do it.

If `dst` is empty, it'll have the same behavior as before (no rlcp), and
if `strip_parent` is set, it will also still have the same behavior.
Finally, if the format is binary, `rlcp` is ignored too (as it doesn't
make sense).

So, this only changes if:
- your format is not binary; and
- you have files with `src` and `dst` set

Then, goreleaser will warn you to set `rlcp: true`.

## todo

- [x] docs
- [x] more tests probably
- [x] any ideas for a better name for the new config option?

fixes #3655

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-27 17:42:55 -03:00
Carlos A Becker
580022b1b6
docs: typo fix
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-19 23:51:17 -03:00
actions-user
19b12018b7 chore: docs auto-update 2022-12-20 01:35:45 +00:00
Carlos A Becker
d4b570a002
fix: clarify scoop no windows archive errors
closes #3648

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-18 16:49:55 -03:00
Carlos A Becker
d7ce4841c8
fix: jsonschema for chocolateys
closes #3647

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-18 16:42:03 -03:00
Carlos A Becker
27af559a62
docs: improve reproducible builds 2022-12-16 11:14:33 -03:00
Carlos A Becker
84392e56cf
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-15 14:06:19 -03:00
Carlos Alexandro Becker
cac3f17562
feat(deps): build with go 1.19.4 (#3644)
latest and greatest

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 15:23:40 -03:00
actions-user
1b14f0d26f chore: docs auto-update 2022-12-14 15:18:53 +00:00
Carlos Alexandro Becker
2e5a8e5a54
feat: allow to template archives.files.info (#3630)
this allows to template the owner, group and mtime in file infos inside
archives.

should help towards reproducible builds!

goes well with #3618

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 12:16:43 -03:00
Carlos Alexandro Becker
3cfe215d4c
docs: update github-action documentation (#3640)
Using the new version (v4) everywhere.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 12:16:24 -03:00
Carlos Alexandro Becker
937067697b
feat: set file info for binaries inside archives (#3618)
closes #3582

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 12:16:03 -03:00
Jo
960814aea8
docs: fix skip_push parameter to skip_build (#3628)
Fix the wrong `skip_push` to `skip_build` in `docker.md`.
2022-12-08 09:43:03 -03:00
Carlos A Becker
5c15e5a6ef
docs: errors/build
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-04 10:29:02 -03:00