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

768 Commits

Author SHA1 Message Date
actions-user
31df0a0716 docs: update 2022-03-17 02:39:09 +00:00
Carlos Alexandro Becker
d81820bb01
feat: remove some deprecated code, go 1.15 support (#2985)
* feat: remove some deprecated code, go 1.15 support

- auto ignore darwin/arm64 on go <1.15, check https://goreleaser.com/deprecations/#builds-for-darwinarm64
- `dockers.use_buildx` (do not mix with `dockers.use: buildx`), check https://goreleaser.com/deprecations/#dockersuse_buildx

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: remove deprecated test
2022-03-16 23:37:29 -03:00
Carlos Alexandro Becker
3c4e797150
feat: upgrade to go 1.18 (#2978)
* feat: upgrade to go 1.18

* chore: go mod tidy

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: fix

* fix: more updates

* test: fix test
2022-03-16 21:51:48 -03:00
actions-user
3eaec333d7 docs: update 2022-03-17 00:14:26 +00:00
Carlos Alexandro Becker
7730a4de94
feat: brew service block (#2973)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-16 21:12:57 -03:00
Carlos A Becker
c0779dbd30
fix: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-06 15:19:42 -03:00
actions-user
1950a45633 docs: update 2022-03-06 02:18:20 +00:00
David Stotijn
c4017fca69
feat: add missing Snapcraft app metadata fields (#2955)
* fix: add missing snapcraft app metadata fields

* docs: add missing snapcraft app metadata fields

* Apply suggestions from code review

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-03-05 23:16:43 -03:00
Carlos A Becker
73aed29f83
docs: github actions and tag fetching
closes #2919
2022-02-25 22:41:00 -03:00
Carlos A Becker
88a030ccc9
docs: update 2022-02-25 22:05:40 -03:00
Carlos Alexandro Becker
d295d0bdff
feat: annotated tag body (#2923)
* feat: annotated tag body

this adds another template variable, `TagBody`, with the body of the annotated tag/commit message only.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* refactor: tag contents

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-24 22:57:51 -03:00
Carlos Alexandro Becker
f0af44ccbe
feat: add filter and reverseFilter template functions (#2924)
* feat: add grep and grep -v template functions

this adds `grep` and `reverseGrep` template functions, which should help dealing with text.

refs #2920

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* refactor: rename funcs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-24 22:57:43 -03:00
Allen Reese
3adc75ef33
docs: Add a new cookbook that covers using the jfrog-cli as an alternative to the artifactory publisher to publish to artifactory. (#2932) 2022-02-23 20:18:13 -03:00
Xijun Dai
6b0ea4d7d1
docs: fix indent on drone example (#2931) 2022-02-23 09:10:33 -03:00
Justin Hammond
6ec690723e
docs: Homebrew README example formula (#2921) 2022-02-19 21:41:32 -03:00
Carlos A Becker
99547865e1
docs: remove beta wording 2022-02-17 10:10:51 -03:00
Carlos Alexandro Becker
d07a5a8541
feat: change default nfpm bindir (#2910)
/usr/local/bin is intended for binaries compiled locally, which is never
the case for goreleaser.

this changes the default to /usr/bin instead.

closes #2909

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-14 21:54:04 -03:00
Carlos A Becker
55d7eabc79
docs: update schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-12 14:22:26 -03:00
actions-user
b658e7f9ca docs: update 2022-02-09 14:42:20 +00:00
Carlos Alexandro Becker
02a94ce23e
feat: lintian overrides (#2892)
* feat: lintian overrides

allow to more easily set lintian overrides

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: lintian

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-09 11:40:51 -03:00
actions-user
a3f9b69e11 docs: update 2022-02-09 12:02:45 +00:00
Carlos Alexandro Becker
9d49c50a70
docs: use the orgs code of conduct (#2889)
* chore: code of conduct links

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: use the orgs code of conduct

we dont need to keep a copy of it in every project, a single one should do.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-08 14:20:50 -03:00
Carlos Alexandro Becker
c457d8fff7
feat: allow to use .Path and .Name on universal binary post hooks (#2891)
* feat: allow to use .Path and .Name on universal binary post hooks

This allows the usage of `{{ .Path }}` and `{{ .Name }}` on post
templates.

Closes #2890

* docs: improve docs

* test: add more tests
2022-02-08 11:44:47 -03:00
Carlos A Becker
3426d04837
docs: update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-06 22:09:31 -03:00
Carlos A Becker
7f2233858f
fix: pro schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 17:50:59 -03:00
Carlos A Becker
4095da684b
fix: jsonschema on archives.files.info.group
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 17:48:41 -03:00
Carlos A Becker
f585f3be69
feat: allow to output on hooks
refs #2875
2022-02-05 16:00:49 -03:00
Carlos A Becker
629723dd6b
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-02 14:56:33 -03:00
actions-user
c901edc7ee docs: update 2022-02-02 03:03:00 +00:00
Carlos Alexandro Becker
1bdfc9cdff
feat: allow to override build flags by goos/goarch/etc (#2860)
* feat: allow to override build flags by goos/goarch/etc

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: improve

* fix: typos

* feat: templates, merges

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: fix

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: one more case

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* Update internal/builders/golang/build.go

Co-authored-by: Brian Flad <bflad417@gmail.com>

* Update internal/builders/golang/build.go

Co-authored-by: Brian Flad <bflad417@gmail.com>

* test: more tests

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

Co-authored-by: Brian Flad <bflad417@gmail.com>
2022-02-02 00:01:34 -03:00
Carlos A Becker
a18e61e213
docs: no history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-01 11:07:28 -03:00
Carlos Alexandro Becker
9d481d4630
feat: expose runtime goos and goarch on templates and metadata (#2859)
* feat: expose runtime goos and goarch on templates and metadata

* test: fix duplicated map literal in some os/arch

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-31 22:36:22 -03:00
Carlos A Becker
0b494f741a
docs: description multiline example
refs  #2861

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-31 15:13:07 -03:00
staticdev
a4176386b2
docs(nfpm): two line "extended" description (#2864) 2022-01-31 14:42:45 -03:00
Carlos A Becker
fa4ba760d9
docs: do not indicate that branch will be created
refs  #2831
2022-01-30 22:30:07 -03:00
Carlos A Becker
e40b3b4964
docs: update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-30 11:31:10 -03:00
Carlos A Becker
7085b4c557
docs: improve docs for changelog skipping
closes #2601
2022-01-30 11:28:00 -03:00
Artur Troian
ca361f6f1c
docs(cookbooks): update links to the new goreleaser-cross home (#2851)
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2022-01-27 13:03:25 -03:00
Carlos A Becker
5f36f2ebce
docs: fix pro link on deprecations page 2022-01-27 00:22:18 -03:00
Carlos A Becker
f42fe8ddd1
docs: install instructions for arch linux 2022-01-27 00:10:05 -03:00
Khris Richardson
7a2fc167c8
docs: update grammar in markdown (#2846) 2022-01-23 16:29:31 -03:00
Carlos A Becker
acddce5777
fix(aur): use StrictHostKeyChecking=accept-new by default
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-21 22:17:12 -03:00
Carlos A Becker
592e763f6b
docs: update docs and schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-20 16:22:54 -03:00
actions-user
ebbcb29806 docs: update 2022-01-20 18:01:16 +00:00
Carlos Alexandro Becker
b02bec962e
feat: arch user repository integration (#2838)
* feat: aur PKGBUILD integration

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: guess install, improve formatting

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: more deterministic

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: binary releases, push, more tests

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: accept key as text

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: improvements

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: srcinfo

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: compile

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: everything

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: lint

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: renames, docs, etc

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: link to docs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: go mod tidy, title

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: srcinfo tmpl

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: missing close quote

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: templates

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: always defaults conflicts and provides

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: ssh command

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: maintainers can be a list

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: ensure -bin suffix, more tests and docs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: this will never happen

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: whitespaces

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: goreleaser config

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-20 14:59:39 -03:00
Carlos A Becker
34b7b85aa3
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-10 11:13:30 -03:00
actions-user
8833bfcf4d docs: update 2022-01-08 17:48:05 +00:00
Engin Diri
339bcabbb5
feat: add generic webhook announcer (#2750) 2022-01-08 14:46:27 -03:00
Saed SayedAhmed
72535f288c
docs: correct installOnly in the documentation (#2809) 2022-01-07 20:07:02 -03:00
actions-user
5de6201e08 docs: update 2022-01-07 12:18:44 +00:00
Carlos Alexandro Becker
4a4c5ec5a6
feat: allow multiple ids on universal binaries (#2811)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-07 09:16:54 -03:00
actions-user
3fa464bfb5 docs: update 2022-01-07 01:12:42 +00:00
Evan
fe79b4b9da
feat: add support for GitLab Generic Packages (#2006) (#2745)
GitLab's Generic Package Repository allows uploading files
to GitLab, as an alternative to attachments.

Added the flag `use_package_registry` to the `gitlab_urls` config.
When false, the default, it will behave as before.
When true, it will publish the file to the Generic Package Registry.
Either way, the URL is bound to the release the same

Updated `go-gitlab` to version 0.52.2 which has the new
`GenericPackages.PublishPackageFile` function.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-01-06 22:11:11 -03:00
Brian Flad
791de897bb
feat: support extra_files in publishers (#2770)
Reference: https://github.com/goreleaser/goreleaser/issues/2768

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-01-06 22:04:43 -03:00
Carlos Alexandro Becker
8e1b6a1bbb
feat: allow to template dockerfile (#2797)
* feat: allow to template dockerfile

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: added one more test

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-06 15:34:55 -03:00
CrazyMax
caaa1b3947
docs: goreleaser-xx (#2782)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-01-06 15:32:26 -03:00
actions-user
d6f136de3c docs: update 2022-01-05 13:32:56 +00:00
actions-user
6b107e82e1 docs: update 2022-01-05 01:39:44 +00:00
Aleksandr Baryshnikov
54d78b36f7
docs: update Drone CI integration (#2789) 2021-12-27 10:03:48 -03:00
Engin Diri
a19ee5fc42
docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
Carlos A Becker
386a6f3709
docs: update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-21 16:14:20 -03:00
Carlos A Becker
1d13d6a776
docs: schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-21 14:23:04 -03:00
Carlos Alexandro Becker
f42e0872f6
fix: do not group changelog when using github-native (#2781)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-21 14:21:05 -03:00
Carlos A Becker
04a91769c5
docs: list on menu
refs #2752

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-21 14:20:04 -03:00
Batuhan Apaydın
cfb273143b
docs(docker): add section for overriding hard-coded image name (#2752)
Co-authored-by: Furkan Türkal <furkan.turkal@trendyol.com>

Co-authored-by: Furkan Turkal <furkan.turkal@trendyol.com>

Co-authored-by: Furkan Turkal <furkan.turkal@trendyol.com>

Co-authored-by: Furkan <furkan.turkal@trendyol.com>

Co-authored-by: Furkan <furkan.turkal@trendyol.com>

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2021-12-21 14:18:57 -03:00
Carlos A Becker
1f0685f248
docs(nfpm): note about conventional file names and armv6/v7
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-21 13:50:21 -03:00
Vladislav Trotsenko
e17c076662
docs(ci): fix circle config example (#2773) 2021-12-17 10:33:09 -03:00
Carlos Alexandro Becker
505888f41b
feat: keyless signing (#2716)
* feat: keyless signing

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: perms

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: rm old pubkey

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: missing experimental flag

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: true keyless

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: improve install

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: simplifying

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: improvements

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: improvements

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: trying to improve docs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: config

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: package write

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-16 13:43:11 -03:00
Carlos A Becker
c540c6cbf5
docs: fix hooks env usage
closes #2762

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-15 16:03:58 -03:00
Carlos A Becker
78cca698f7
docs: update schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-15 15:58:28 -03:00
actions-user
d5a552f892 docs: update 2021-12-12 03:23:10 +00:00
Alex Goodman
bfdec808ab
feat: add sbom generation pipe (#2648)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-12-12 00:21:51 -03:00
Carlos A Becker
8c06005bc6
docs: add github actions error when no pat
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-07 22:06:02 -03:00
Carlos A Becker
ab879cb9f9
docs: update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-06 17:23:04 -03:00
Olivier Mengué
61bf917918
fix: jsonschema for ReleaseNotesMode (#2741) 2021-12-06 16:58:37 -03:00
Carlos Alexandro Becker
6ea7fb792a
feat: annotated tag contents (#2744)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-06 16:52:26 -03:00
caarlos0
167d95e67f docs: update 2021-12-06 13:09:58 +00:00
Carlos Alexandro Becker
7c2a93cfaa
feat: allow to always log signing output (#2731)
* feat: allow to always log signing output

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: improve code a bit

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-06 10:07:47 -03:00
Carlos A Becker
232162d892
docs: update users
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-06 00:00:37 -03:00
Carlos A Becker
a55e6511fa
docs: update users
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-05 23:54:28 -03:00
Carlos Alexandro Becker
9b9eef04a2
feat: get annotated tag message (#2730)
refs  #2726

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-05 23:23:15 -03:00
Carlos Alexandro Becker
73867736a5
feat: improve multiple tokens error (#2733)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-05 22:25:29 -03:00
Ron Green
808e8e0f36
docs(quickstart): minimum github_token perms (#2722)
* docs(quickstart): minimum github_token perms

after testing, this is what I found

not sure this is the exact way we should write this but it's a start

* Update www/docs/quick-start.md

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-12-04 14:03:36 -03:00
caarlos0
2e31aa1146 docs: update 2021-12-04 15:34:28 +00:00
Carlos Tadeu Panato Junior
bd7a8d42a8
docs: update documentation for signing when using cosign (#2724)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-03 14:22:31 -03:00
Carlos A Becker
535a383435
docs: fix after mkdocs upgrade
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-30 21:36:19 -03:00
Carlos A Becker
6a30b0e55d
docs: goreleaser build
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-30 10:41:50 -03:00
Carlos Alexandro Becker
62da2dbe13
feat: no main error page (#2709)
* feat: no main error page

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: improve seo

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-29 21:41:31 -03:00
Carlos A Becker
af4a8642bd
docs: update tmpl
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-28 20:41:04 -03:00
Carlos A Becker
85281bcec1
docs: update schema pro
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-28 11:29:20 -03:00
Carlos Alexandro Becker
b8f61718f3
feat: allow to customize release notes update behavior (#2702)
* feat: allow to customize release notes update behavior

closes #1384

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: make it a bit better

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: jsonschema

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-26 09:59:15 -03:00
Carlos A Becker
53bd977810
docs: minor improvements
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-25 00:20:40 -03:00
Erik Kristensen
274ffae03c
feat: add git summary support (aka git describe --dirty --tags --always) (#2700)
* feat: add git summary support (aka git describe --dirty --tags --always)

* feat: update documentation for new summary template variable

* test: add tests for new summary feature
2021-11-25 03:01:56 +00:00
caarlos0
38e189b3b1 docs: update 2021-11-24 23:43:50 +00:00
Weslei Juan Novaes Pereira
e53b4940de
docs: add docs for universal binaries hook (#2696) 2021-11-24 10:30:23 -03:00
Carlos Alexandro Becker
cd261a527a
feat: allow to use .PreviousTag on templates (#2683)
* feat: expose .PreviousTag

* fix: previous tag will never be a commit

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: tests

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: tag

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-24 09:12:24 -03:00
caarlos0
4b556a4e03 docs: update 2021-11-24 01:26:10 +00:00
Engin Diri
5ac11a1cba
feat: add changelog sorting (#2670)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-11-23 22:23:53 -03:00
caarlos0
6a081264f1 docs: update 2021-11-24 01:20:05 +00:00
Carlos Alexandro Becker
d202e788a4
feat: remap extra_files (#2678)
* feat: template on extra_files

* feat: remap extra_files

* docs: wording

* chore: log, more tests
2021-11-23 22:18:47 -03:00