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

1250 Commits

Author SHA1 Message Date
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