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

243 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
b904188fc8
docs: better /pro page
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 22:29:58 -03:00
Carlos Alexandro Becker
8d73d70e6e
docs: fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-21 22:40:41 -03:00
Carlos Alexandro Becker
820194cc92
docs: typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-16 14:32:36 -03:00
Batuhan Apaydın
afad409c76
feat: add SMTP support to the announces (#2485)
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-with: Erkan Zileli <erkan.zileli@trendyol.com>
Co-authored-with: Furkan Turkal <furkan.turkal@trendyol.com>
2021-09-15 18:38:58 +00:00
Carlos Tadeu Panato Junior
8ecddfa2a0
docs: fix environment variable to be COSIGN_PWD (#2489)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-15 08:50:43 -03:00
Carlos Alexandro Becker
5f4ea3f9cb
docs: improve announce and home
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-12 22:41:54 -03:00
Carlos Alexandro Becker
b654a31160
docs: update prebuilt opts
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-12 20:40:50 -03:00
Engin Diri
1c44c2149d
feat: announce: teams (#2482)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-09-12 19:57:58 -03:00
Carlos Alexandro Becker
b542041df4
docs: fix list
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 15:02:36 -03:00
Carlos Alexandro Becker
315c805efc
docs: improve docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 15:01:47 -03:00
Carlos Alexandro Becker
2c6c832d3c
docs: fix list
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 14:56:56 -03:00
Carlos Alexandro Becker
65e2505ef4
docs: prebuilt
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 14:56:09 -03:00
Carlos Alexandro Becker
c18d2236fa
docs: new pro features
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 14:33:01 -03:00
Engin Diri
311479504e
feat: announce: discord (#2478)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-09-11 17:23:54 +00:00
Erkan Zileli
5ea003c6f6
feat(docker): add buildpacks support (#2461)
* feat(docker): add buildpacks support

Signed-off-by: Erkan Zileli <erkanzileli@gmail.com>

* fix: move buildpacker imager code into own go file

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* fix: use docker imager push method for buildpack imager push

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* fix: return statement

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* move test into api_buildback_test

Signed-off-by: Furkan <furkan.turkal@trendyol.com>

* fix: use buildpacks instead of buildpack

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* fix(lint): fix lint issue

* fix(buildpacks): use cwd instead of root directory

* doc: add how to use a custom buildpack document

Signed-off-by: Erkan Zileli <erkan.zileli@trendyol.com>

* fix(doc): update docs as suggested

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Co-authored-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Furkan <furkan.turkal@trendyol.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-09-11 02:21:33 +00:00
Steve Azzopardi
68ff8e996f
feat: support templates for scm urls (#2465)
Background
---
When a git repository is hosted in multiple GitLab instances the
`.goreleaser.yml` needs to take in consideration both APIs endpoints. At
the moment it defaults to GitLab.com and you can override it with
`gitlab_urls` however this forces you to only support 1 GitLab instance.

We need this for
https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/14122
where we have a tool that is developed on GitLab.com but then mirrored
to an internal GitLab instance since we need it to operate GitLab.com
even when it's down.

Solution
---
Support templates like `{{ .Env.CI_SERVER_URL }}` for the
`gitlab_urls`, `github_urls`  and `gitea_urls` so it can use environment
variables and the same `.goreleaser` file can be used in multiple SCM
instances.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-09-09 01:42:13 +00:00
Carlos Alexandro Becker
717051d70f
docs: fix wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-07 16:16:50 -03:00
Carlos Alexandro Becker
8afb5eafe5
feat: Add support for templating NFPM bindir (#2466)
* feat: Add support for templating NFPM bindir

Example: Allow software to be deployed in '/usr/lib64' directory on x86_64 arch
and in '/usr/lib' directory in i386

* test: invalid bindir template

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

* docs: bindir template

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

Co-authored-by: Rémi Ferrand <remi.ferrand@cc.in2p3.fr>
2021-09-07 15:43:06 -03:00
CrazyMax
7d22a32de9
docs: ghaction-import-gpg v4 (#2464)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-06 17:46:23 -03:00
Carlos Alexandro Becker
6c21e393f5
docs: simplify cosign
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-03 09:54:29 -03:00
Carlos Alexandro Becker
3f650b1863
docs: install
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-03 00:04:26 -03:00
Carlos Alexandro Becker
d5d494f001
docs: update check instructions (#2437)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-02 23:58:18 -03:00
angie pinilla
9667216403
feat: add support for checksum generation for extra files (#2406)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-09-01 23:07:43 -03:00
Carlos Alexandro Becker
17f71590e8
docs: announce
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-01 16:48:16 -03:00
Furkan Türkal
aa28f31ab5
feat: announce: slack (#2429)
Fixes #2425

Signed-off-by: Furkan <furkan.turkal@trendyol.com>
2021-09-01 16:46:25 -03:00
Carlos Alexandro Becker
b661a57105
feat: allow to template brew message (#2447)
closes #2441

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-01 10:27:31 -03:00
Carlos Alexandro Becker
b63e544725
feat: templateable nfpm key files (#2448)
closes #2419

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-01 10:27:08 -03:00
Batuhan Apaydın
e2b5e5874e
docs: enhance Gitlab documentation (#2449)
* style(ci): enhance Gitlab documentation

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* Update www/docs/ci/gitlab.md

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-09-01 09:12:28 -03:00
Carlos Alexandro Becker
990fb63aef
feat: allow to use .tar as archive format
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-31 23:09:18 -03:00
Carlos Alexandro Becker
55f420e9d1
docs: fix typo
closes #2446

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-31 22:41:09 -03:00
Batuhan Apaydın
d3db692a0b
feat: announce: reddit (#2431)
* feat: announce: reddit

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* Update .goreleaser.yml

* Update internal/pipe/announce/announce.go

* Update pkg/defaults/defaults.go

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-08-31 10:48:45 -03:00
Carlos Alexandro Becker
d580a488d9
docs: fix paths
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-24 22:34:17 -03:00
Carlos Alexandro Becker
c60493d3d8
docs: verifying the binaries and images
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-24 22:31:02 -03:00
Carlos Alexandro Becker
dd5ccf7170
feat: use go 1.17 (#2408)
* feat: use go 1.17

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

* fix: go mod tidy

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

* test: fix failing test

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

* ci: increase lint timeout

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

* ci: increase lint timeout

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-24 20:49:11 -03:00
Carlos Alexandro Becker
ad57a133fb
feat: sign docker images with cosign (#2423)
* feat: sign docker images with cosign

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

* fix: improve sign logging

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

* fix: do not sign if skip publish is set

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

* fix: install cosign

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

* docs: fix wrong docs

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-24 11:22:09 -03:00
Carlos Alexandro Becker
5bdbffc96f
feat: allow to template signs.stdin
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-23 22:00:44 -03:00
Christian Mäder
757701f65c
feat: snapshot.name_template should use tag instead of version (#2417)
* fix: Change the init-template for snapshot.name_template

* fix: Change the default-template for snapshot.name_template

BREAKIND CHANGE: The default value of `snapshot.name_template` is changed.
2021-08-21 10:59:15 -03:00
Carlos Alexandro Becker
a813644522
feat: support windows/arm64 (#2407)
* feat: support windows/arm64

closes #2404
closes #2405

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

* fix: broken test

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

* docs: deprecation warnings

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-16 23:00:56 -03:00
Carlos Alexandro Becker
d329a9c0d3
feat: add id to dockers and docker_manifests (#2399)
* feat: add id to dockers and docker_manifests

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

* feat: actually allow to use the images

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-16 22:11:54 -03:00
Carlos Alexandro Becker
72b7f3b302
feat: remove deprecated docker options (#2400)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-16 15:21:16 -03:00
Carlos Alexandro Becker
1d90ecb8c3
docs: add more blog posts
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-10 21:52:32 -03:00
Carlos Alexandro Becker
9ed3c0c4a7
docs: fix monorepo.dir prop
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-04 17:39:50 -03:00
Carlos Alexandro Becker
5227ef0c24
docs: update docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-01 21:07:00 -03:00
Carlos Alexandro Becker
5b3f286ce4
docs: update url
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-29 10:39:14 -03:00
Ivan Vandot
fcfdeecc6a
docs: update use buildx syntax (#2371) 2021-07-27 17:48:08 -03:00
Carlos Alexandro Becker
cb8ecf52bb
docs: clarify gitlab release
closes #2370

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-26 11:57:11 -03:00
Carlos Alexandro Becker
b176b1ff80
feat: inc parts of semver, change snapshot default name (#2358) 2021-07-24 10:13:05 -03:00
Guilhem Lettron
6ecddbd7e9
feat(snapcraft): manage channel upload (#2361)
By default, snap store manage "edge", "beta", "candidate" and "stable".
Default to all this channels when package is in grade stable. But only on
"edge" and "beta" for grade "devel".

Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-07-24 00:23:59 -03:00
Carlos Alexandro Becker
73641c71ac
feat: file mappings in archives (#2347)
* refactor: archive files

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

* feat: better archives

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

* feat: better archives

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

* fix: test todos

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

* fix: go mod tidy et al

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

* fix: improve docs and remove typoe 'licence' from defaults

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

* test: fixes

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

* fix: error string

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

* test: remove some logs

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

* test: use utc

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-21 22:09:02 -03:00
Carlos Alexandro Becker
c13a486169
docs: fix go install
closes https://github.com/goreleaser/goreleaser/issues/2352
2021-07-20 09:20:05 -03:00