1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-20 03:59:26 +02:00

87 Commits

Author SHA1 Message Date
Meng Zhuo
6a84e40115
ci: release to riscv64 (#5196) 2024-10-21 08:38:00 -03:00
Carlos Alexandro Becker
84f136202f
build: constant archive files owner, group, and mtime (#5088)
before:

```sh
$ tar tvzf dist/goreleaser_Linux_x86_64.tar.gz                                  
-rw-rw-r-- twp/twp        1085 2024-08-17 09:19 LICENSE.md
-rw-rw-r-- twp/twp       12982 2024-08-17 09:19 README.md
-rw-rw-r-- twp/twp       11975 2024-08-17 18:10 completions/goreleaser.bash
-rw-rw-r-- twp/twp       10061 2024-08-17 18:10 completions/goreleaser.fish
-rw-rw-r-- twp/twp        7892 2024-08-17 18:10 completions/goreleaser.zsh
-rw-rw-r-- twp/twp        1594 2024-08-17 18:10 manpages/goreleaser.1.gz
-rwxrwxr-x root/root  66003096 2024-08-16 19:49 goreleaser
```

after this change:

```sh
$ tar tvf dist/goreleaser_Linux_arm64.tar.gz
-rw-r--r-- root/root      1085 2024-08-18 15:36 LICENSE.md
-rw-r--r-- root/root     12982 2024-08-18 15:36 README.md
-rw-r--r-- root/root     11975 2024-08-18 15:36 completions/goreleaser.bash
-rw-r--r-- root/root     10061 2024-08-18 15:36 completions/goreleaser.fish
-rw-r--r-- root/root      7892 2024-08-18 15:36 completions/goreleaser.zsh
-rw-r--r-- root/root      1594 2024-08-18 15:36 manpages/goreleaser.1.gz
-rwxr-xr-x root/root  63439000 2024-08-18 15:36 goreleaser
```

closes #5086

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-18 16:08:34 -03:00
Tom Payne
5e6305804e
chore: use snapshot.version_template in own config (#5087)
If applied, this commit will fix the self-check failure reported in
https://github.com/goreleaser/goreleaser/issues/5086#issue-2471620837.

tl;dr goreleaser v2.2 switched from `snapshot.name_template` to
`snapshot.version_template`. This PR updates goreleaser's own config to
use the new variable.
2024-08-18 15:36:07 -03:00
Carlos Alexandro Becker
e728c9df78
build: name template 2024-08-07 10:07:34 -03:00
Carlos Alexandro Becker
2de792c31d
feat: rename snapshot.name_template -> snapshot.version_template (#5019)
close #5017

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-29 09:21:00 -03:00
Carlos Alexandro Becker
e47589d332
ci: update .goreleaser.yaml
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-03 22:08:24 -03:00
Carlos Alexandro Becker
f4cd8fc156
build: fix changelog not showing dependencies updates 2024-05-22 11:00:48 -03:00
Carlos Alexandro Becker
172d6d4b99
Revert "fix: temp disable snapcraft" (#4830)
Reverts goreleaser/goreleaser#4826

for when there's a new snap release!
2024-05-06 00:20:39 -03:00
Carlos Alexandro Becker
fbddb7081d
fix: temp disable snapcraft (#4826)
refs #4816

temp disable it from our release, and disable the broken tests
2024-05-03 09:21:52 -03:00
Carlos Alexandro Becker
3cd2e07c68
feat: notarize macos binaries (#4774)
this includes anchore/quill as a pipe to sign and notarize macos
binaries

TODO:

- [x] find a way to test this
- [x] docs
- [x] maybe get someone from anchore to take a look?

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-04-19 22:27:50 -03:00
Carlos Alexandro Becker
5102708de5
build: exclude test commits from changelog 2024-04-01 14:07:22 -03:00
Carlos Alexandro Becker
7fc93995b8
feat: consistently use directory in property names (#4737)
It was a mess of "folder" x "directory", so changed it all to
"directory".

Closes #4732
2024-04-01 10:01:56 -03:00
Carlos Alexandro Becker
09b3646544
build: improve changelog grouping 2024-03-03 12:15:58 -03:00
Carlos Alexandro Becker
75c6d1a580
ci: improve changelog
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-01-29 20:48:33 -03:00
Carlos Alexandro Becker
90a1bbe8bb
build: publish :nightly docker images
closes #4501
2024-01-07 15:35:27 -03:00
Carlos Alexandro Becker
18c109a62a
build: simplify changelog on nightly builds
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-18 09:55:07 -03:00
Carlos Alexandro Becker
896366f3dc feat: version in the yaml file
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-10-31 15:10:16 -03:00
Carlos Alexandro Becker
695a56feaa
chore: typo 2023-09-18 12:59:02 +00:00
Carlos Alexandro Becker
43bb54918a
ci: ignore nightly only when not nightly 2023-09-17 17:03:13 +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
0f018f3f58
build: fix release name when nightly 2023-08-09 13:12:18 +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
9e5d6458b3
build: improve archive name_template 2023-08-03 12:33:02 +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
204d14ae64
build: release nightly every Thursday (#4211)
closes #3501
2023-08-02 23:17:03 -03: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
30ea8a7d96
build: update nix config
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-30 02:34:15 +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
Carlos Alexandro Becker
682220937c
build: winget branch
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-29 13:27:38 +00:00
Carlos Alexandro Becker
a68000b5ad
build(nix): fix goreleaser config path (#4151)
default is `goreleaser.nix`

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-29 00:46:08 -03:00
Carlos Alexandro Becker
7355ccd524
build: fix config 2023-06-15 03:19:58 +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
b56dcbf4c1
build: do not use deprecated options
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-14 04:01:11 +00:00
Carlos Alexandro Becker
210d029991
build: rm deprecated option
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-12 12:11:07 +00:00
Carlos Alexandro Becker
68b38c0229
test: fix
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-07 02:57:51 +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
c6c6cdf0de
Revert "build: temp disable push to aur"
This reverts commit b037471278c3264cbdf058f0f4e18d5539e9762a.
2023-05-06 03:18:48 +00:00
Carlos Alexandro Becker
aaa9da33d5
fix: disable upx for now 2023-05-05 04:26:12 +00:00
Carlos Alexandro Becker
b037471278
build: temp disable push to aur 2023-05-05 03:28:11 +00:00
Carlos Alexandro Becker
45b80dfa26
fix: pass tree state as ldflag (#3968)
needs #3967

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-02 01:04:48 -03: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
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
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
Carlos Alexandro Becker
9dcc63c60e
build: create scoop manifests inside a bucket folder
refs https://github.com/goreleaser/goreleaser/issues/3899

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-04-03 09:05:31 -03:00
Carlos A Becker
33e46b6e84
build: improve changelog config
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-10 10:27:51 -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
fee166d02f
build: do not release for windows arm7 (#3735)
no one uses it anyway

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-09 08:57:38 -03:00
Carlos A Becker
15bc65618b
build: add another category to our changelog
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-02 21:07:38 -03:00
Carlos A Becker
2bfbab9885
build: disable goreleaser twitter announce
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-02 21:06:46 -03:00