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

552 Commits

Author SHA1 Message Date
Carlos A Becker
4b31017bd7
docs: fix imgs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-05 20:46:59 -03:00
Carlos A Becker
862da49983
docs: improve home a bit
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-05 20:24:06 -03:00
Carlos Alexandro Becker
89e5a4ebf1
feat: changelog from github (#2548)
* feat: changelog from github

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

* refactor: unifying client mocks

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

* refactor: unifying client mocks

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

* fix: mocks

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

* test: added tests

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

* fix: remove unused code

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

* test: added more

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

* fix: testdata

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

* fix: fmt

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

* test: fix

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

* test: fix

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

* docs: improve docs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-04 09:32:30 -03:00
Carlos A Becker
57f79e91f8
docs: update gofish and scoop docs
refs #2539

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-03 11:25:31 -03:00
Drew Stinnett
e0315ff4c4
feat: allow default branch to be used in CreateFile (#2539)
* feat: allow default branch to be used in gitlab

* feat: add func to get default branch

* fix: matching branch args

* feat: branch customization

* fix: fixing dummyclient naming

* refactor: remove createbranch

* feat: Adding gitlab branch customization

* feat: testing for github and gitea defaultbranch

* fix: remove dummy debug message

* fix: removing note about gitea not being supported

* feat: allow default branch to be used in gitlab

* docs: links updat

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

* chore: delete kodiak.yml

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

* feat: add func to get default branch

* fix: matching branch args

* feat: branch customization

* fix: docs: Missing mattermost docs on website (#2543)

* docs: update CircleCI example (#2545)

* fix: fixing dummyclient naming

* docs: some little fixes on the webpage (#2547)

* feat: some little fixes on the webpage

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

* Update www/docs/overrides/home.html

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

* refactor: remove unused not impl error (#2540)

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

* feat: add template support for homebrew tap owner (#2544)

* feat: add template support for homebrew tap name

refs #2544

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

* refactor: remove createbranch

* feat: Adding gitlab branch customization

* feat: testing for github and gitea defaultbranch

* fix: remove dummy debug message

* fix: removing note about gitea not being supported

Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Co-authored-by: Engin Diri <engin.diri@mail.schwarz>
Co-authored-by: Ricardo N Feliciano <FelicianoTech@gmail.com>
Co-authored-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Erik Weber <terbolous@gmail.com>
2021-10-03 11:22:26 -03:00
Batuhan Apaydın
91eee44ce8
docs: some little fixes on the webpage (#2547)
* feat: some little fixes on the webpage

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

* Update www/docs/overrides/home.html

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-10-01 23:04:52 -03:00
Ricardo N Feliciano
1a56c4546b
docs: update CircleCI example (#2545) 2021-09-30 10:17:33 -03:00
Engin Diri
33f7a256bd
fix: docs: Missing mattermost docs on website (#2543) 2021-09-29 20:25:32 -03:00
Carlos Alexandro Becker
70823d3da8
docs: links updat
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-29 10:21:23 -03:00
Carlos Alexandro Becker
ab07fb0c40
docs: improve sponsors page
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-28 23:14:21 -03:00
Carlos Alexandro Becker
e2f7c83064
feat: allow to skip announcers (#2528)
* feat: allow to skip announcers

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

* docs: announce.skip

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-28 22:33:04 -03:00
Carlos Alexandro Becker
3b971331b9
docs: fix formating
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-28 22:24:08 -03:00
Carlos Alexandro Becker
a8d821da3a
chore(ci): htmltest ignore urls
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-28 21:35:08 -03:00
Carlos Tadeu Panato Junior
519a4f67c5
feat: announce: mattermost (#2536)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-28 20:18:35 -03:00
Engin Diri
d2a63c1093
feat: publish: GoFish integration (#2509)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-09-28 20:16:39 -03:00
Ernest Rekel
1b6a2f5e1c
docs: fix invalid gitlab personal access token URL (#2538) 2021-09-28 17:07:06 -03:00
Carlos Alexandro Becker
3e3846a04d
docs: fix trailing slashes (#2529)
* docs: fix trailing slashes

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

* chore: test

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

* fix: vercel config

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

* fix: htmltest ignore discord domain

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-27 23:19:23 -03:00
Carlos Alexandro Becker
164d462470
docs: improve customization section (#2507)
* docs: improve customization section

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

* fix: improve docs

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

* fix: ignore edit urls in htmltest

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-27 22:43:00 -03:00
Carlos Alexandro Becker
3d62f95fd5
docs: nightly pro feature
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-24 20:18:52 -03:00
Carlos Alexandro Becker
833db79bda
feat: removes deprecated non-semver allowance (#2503)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-23 00:39:28 -03:00
Carlos Alexandro Becker
1037098f54
docs: indent
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-23 00:33:28 -03:00
Carlos Alexandro Becker
8c28b48b59
docs: uncapitalize
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-23 00:31:50 -03:00
Carlos Alexandro Becker
f57c2d7468
docs: remove page that dont exist
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-23 00:00:17 -03:00
Carlos Alexandro Becker
c718d9a27c
docs: improve hooks
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:42:59 -03:00
Carlos Alexandro Becker
efb4bce9e4
docs: improve hooks
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:40:55 -03:00
Carlos Alexandro Becker
3d2f82461f
docs: improve hooks, fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:37:30 -03:00
Carlos Alexandro Becker
55dd91e404
docs: improve several documentation pages
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:30:16 -03:00
Carlos Alexandro Becker
ac92cb658a
docs: better /pro page
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 22:44:18 -03:00
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