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

418 Commits

Author SHA1 Message Date
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
Carlos Alexandro Becker
5a65f24fbd
docs: removed bintray cookbook as it was deprecated
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-17 22:31:23 -03:00
Carlos Alexandro Becker
df376fb5e1
docs: improve install
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-12 14:49:26 -03:00
Carlos A Becker
98560bc61f
docs: fix link
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-12 11:54:29 +00:00
Carlos A Becker
6409998dc8
docs: improving docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-10 17:11:37 +00:00
Carlos A Becker
745258cf3b
docs: packages
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-10 16:10:33 +00:00
Carlos A Becker
ec9db2bd56
docs: improve install docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-09 19:13:50 +00:00
Carlos A Becker
939f2b002b
docs: improve install docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-09 19:11:58 +00:00
Carlos A Becker
e5a2e65fea
docs: improve homepage
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-09 19:11:09 +00:00
Carlos A Becker
b958a15183
docs: podman on goreleaser-pro
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-03 22:19:16 +00:00
Carlos Alexandro Becker
b43a2e95ec
chore(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.0 (#2328)
* feat: upgrade cobra

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

* feat: upgrade cobra

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

* fix: docs

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

* chore: less diffs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-03 14:04:19 -03:00
Carlos A Becker
7d3e269683
docs: header and footer template
refs #2326

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-03 16:58:24 +00:00
Carlos A Becker
f9b4fc7476
docs: improvements
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-27 15:40:29 +00:00
Carlos A Becker
d56aee2b90
docs: move comments around
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-26 22:19:46 +00:00
Carlos Alexandro Becker
560938152a
feat: remove some nfpm deprecated options (#2315)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-26 16:52:18 -03:00
Carlos A Becker
afc7d85688
docs: improve gitlab projectid readme
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-26 19:46:16 +00:00
Jesse Quinn
92a4afb169
feat(gitlab): use project id (#2297)
* feat: use project id

* fix: missing slash.

* Added comment.

* Added a comment

Signed-off-by: Jesse Quinn <jesse.quinn@zpesystems.com>

* Added a comment

Signed-off-by: Jesse Quinn <me@jessequinn.info>

Co-authored-by: Jesse Quinn <jesse.quinn@zpesystems.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-06-26 16:44:24 -03:00
Carlos Alexandro Becker
1883ed4a73
refactor: preparing for other docker implementations (#2314)
* wip: podman

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

* refactor: preparing for other docker implementations

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

* refactor: preparing for other docker implementations

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

* fix: log

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

* fix: use buildx

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

* test: cover

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

* fix: lint

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-26 16:36:31 -03:00
Carlos A Becker
c5bcff2b00
feat: scoop formula path
closes #2310

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-26 17:14:42 +00:00
Carlos A Becker
1faebabdae
docs: details about announcements
https://github.com/goreleaser/goreleaser/issues/2304
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-23 12:46:24 +00:00
Carlos A Becker
618d4e50d4
docs: fix links
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-21 03:01:04 +00:00
Carlos A Becker
fd36b971da
docs: improve wording
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-21 02:39:29 +00:00
Carlos A Becker
40b38fbdc9
docs: sync docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-21 02:20:34 +00:00
Olivier Poitrey
3db788bba5
feat(nfpm): add support for APK pre/post upgrade scripts (#2308) 2021-06-20 14:34:09 -03:00
Carlos Alexandro Becker
e437344718
feat: docker_manifests.skip_push (#2302)
* feat: docker_manifests.skip_push

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

* fix: lint

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

* test: fix

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-16 23:00:08 -03:00
Carlos Alexandro Becker
c49c771220
feat: builds. no_unique_dist_dir (#2280)
* Implemented build option output_path

* feat: output path renamed to dist_path

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

* fix: CR

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

* fix: binary name

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

Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
2021-06-06 19:44:24 -03:00
Carlos Alexandro Becker
bad1132e78
feat: --auto-snapshot on dirty git tree (#2286)
* feat: --auto-snapshot

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

* docs: fix

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

* fix: workflow

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-06-04 23:09:12 -03:00
Carlos Alexandro Becker
aa518027b4
fix(publishers): inherit some system variables (#2277) 2021-06-02 15:05:54 -03:00
Carlos Alexandro Becker
f4e79655a7
feat(nfpm): template homepage and description (#2272)
* feat(nfpm): template homepage and description

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

* chore: fumpt

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-31 21:59:46 -03:00
Carlos Alexandro Becker
2375c93359
feat: build tags (#2268)
* feat: build tags

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

* fix: quotes

Co-authored-by: Lukas Malkmus <lukasmalkmus@users.noreply.github.com>

Co-authored-by: Lukas Malkmus <lukasmalkmus@users.noreply.github.com>
2021-05-31 13:47:39 -03:00
Carlos Alexandro Becker
3ca9e6d4dc
feat(nfpm): allow to template contents.dst (#2269)
* feat(nfpm): allow to template contents.dst

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

* fix: revert unwanted change

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

* fix: gofumpt

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-31 00:28:11 -03:00
Carlos A Becker
d3bc4fe2c5
docs: better env docs
closes #1795

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-31 01:53:57 +00:00
Carlos Alexandro Becker
4d0c0d2072
feat: release header/footer (#2267)
* feat: release header/footer

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

* feat: release header/footer

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

* refactor: using the golden library all over

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

* fix: lint

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

* fix: brew arm tests

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

* fix: use footer

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-30 21:53:40 -03:00
Carlos A Becker
68f23cfc16
docs: sync with pro
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-30 18:00:35 +00:00
Carlos Alexandro Becker
8bce27606b
docs: hooks 2021-05-27 14:47:38 -03:00
Carlos Alexandro Becker
89d5692afe
docs: improve hooks page
refs https://github.com/goreleaser/goreleaser/issues/2264
2021-05-27 14:46:59 -03:00
Carlos A Becker
13dcb78bef
docs: typos
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:53:26 +00:00
Carlos A Becker
5e933a2dab
docs: typos
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:52:35 +00:00
Carlos A Becker
057e373a9d
docs: fix og image
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:50:24 +00:00
Carlos A Becker
d6c9cfae31
docs: fix link
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:45:52 +00:00
Carlos Alexandro Becker
690b49b9fc
docs: goreleaser-pro (#2260) 2021-05-26 19:08:46 -03:00
Carlos A Becker
9a3a5f6642
docs: plausible
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-26 02:09:07 +00:00
Carlos A Becker
25816eefe9
docs: fix msg template
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-25 04:10:14 +00:00
Carlos Alexandro Becker
a2d7ccad2f
feat: --skip-announce (#2249) 2021-05-25 00:45:59 -03:00
Carlos Alexandro Becker
f0f7f43486
feat: announce to twitter (#2248)
Co-authored-by: Leon Wright <wrightleo@jncb.com>
2021-05-25 00:19:06 -03:00
Carlos Alexandro Becker
9fbaf5e3e1
feat: env template support (#2246) 2021-05-24 23:23:59 -03:00
Carlos Alexandro Becker
9913fe7db6
feat: template release notes (#2242)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-21 21:07:47 -03:00
Carlos Alexandro Becker
2d136c4c90
feat: allow to template signs[].signature (#2236) 2021-05-21 14:49:07 -03:00
Carlos Alexandro Becker
7cfa2c4777
feat: fine grained sign (#2235) 2021-05-21 11:16:15 -03:00
Carlos Alexandro Becker
3a45a9182e
feat: check -q (#2232)
* feat: check -q

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

* docs: cmd docs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-20 22:47:32 -03:00
Marc Auberer
8db935ff15
feat: add support for name templates to NFPM contents (#2229) 2021-05-20 14:21:48 -03:00
sixg0000d
46f452ecbe
docs: fix config field (#2228) 2021-05-19 09:14:50 -03:00
Matt Palmer
bf4359017b
feat: Use GitLab Direct Asset Links (#2219)
* feat: Use GitLab Direct Asset Links

Implement the use of Direct Asset Links when uploading artifacts to a GitLab release

* fix: Remove ArtifactUploadHash

As GitLab support for direct asset linking exists, remove ArtifactUploadHash due to it no longer being required

* test: fix unit tests for gitlab urls

* fix: Use artifact name during GitLab upload

file.Name() included the path to the file, which isn't needed and breaks other areas such as homebrew releases

* docs: Require GitLab version v12.9+

Due to newly introduced dependency on direct asset linking
2021-05-17 17:33:04 +00:00
Sam Mingo
5ea909f6a3
docs: fixes typo in docker.md (#2206) 2021-05-07 09:44:20 -03:00
Sam Mingo
860e3e0cd6
docs: fixed typo (#2202)
Fixes typo in docker tags section
2021-05-05 09:32:57 -03:00
Cristian Ciutea
a86a9956de
feat: add %pretrans %posttrans scriptlets (#2191)
* tmp changed nfpm dep to fork

* added rpm pretrans and posttrans scriptlets

* cleanup gomod

* docs: added pretrans and posttrans examples in nfpm.md

* added test for rpm pretrans and posttrans scriptlets
2021-04-28 13:01:03 +00:00
Carlos Alexandro Becker
d822baf11f
docs: formatting
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-22 10:58:58 -03:00
Carlos Alexandro Becker
29cb60330b
docs: add cmd docs (#2184)
* docs: add cmd docs

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

* docs: cmd docs

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

* fix: num cpus

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

* docs: improve some things

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

* fix: improve docs

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

* fix: script

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-22 10:45:36 -03:00
Radek Simko
f802d5ead9
docs: document required GitHub Actions token privileges (#2180)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-21 19:45:14 +00:00
Carlos Alexandro Becker
7303dc42c1
Merge remote-tracking branch 'origin/master' 2021-04-21 13:44:07 -03:00
Carlos Alexandro Becker
7a7a6f61ba
feat: create discussions from releases (#2177)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:43:59 -03:00
Carlos Alexandro Becker
e38f4074bb
docs: improve sponsors page
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:43:39 -03:00
Carlos Alexandro Becker
57f7e44556
docs: move bintray to cookbooks
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:27:32 -03:00
Carlos Alexandro Becker
f5ee9d12a8
docs: fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-19 09:32:45 -03:00
Carlos Alexandro Becker
f61d8c820c
fix: improve output a bit (#2174)
* fix: improve output a bit

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

* fix: improve output a bit

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

* fix: revert unwanted changes

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

* fix: skip err

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

* fix: tests

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

* fix: test

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

* chore: build

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-19 09:31:57 -03:00
Carlos Alexandro Becker
a9efdcab4a
fix: handle build.main being a go file when using gomod.proxy (#2173)
* fix: handle build.main being a go file when using gomod.proxy

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

* fix: guess pkg

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-19 11:54:55 +00:00
Marc Auberer
30765a4511
docs: tune performance and theming of documentation (#2164)
* docs: tune performance and theming of documentation

* docs: enable auto-toggle based on user preference
2021-04-09 11:34:39 -03:00
Carlos Alexandro Becker
41356ea84d docs: improve go mod proxy docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-05 11:43:17 -03:00
Carlos Alexandro Becker
6916e05f15 docs: clarify changelog sort
closes #2010

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-01 08:50:29 -03:00
Carlos Alexandro Becker
8306b946d3
feat: initial proxy build support (#2129)
* feat: allow to use ModulePath on templates

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

* feat: initial proxy build support

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

* fix: build

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

* fix: main check

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

* fix: make it more flexible

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

* fix: small improvements

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

* fix: copy go.sum

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

* fix: root mod proxy

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

* fix: test

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

* fix: snapshots

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

* fix: lint

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

* fix: proxy main pkg

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

* fix: environment variables

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

* test: added some tests to go mod proxy feature

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

* fix: improve test

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

* fix: linte

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

* fix: goreleaser.yml

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

* fix: simplify tests

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

* test: test build

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

* fix: revert unwanted changes

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

* fix: allow to run when no mod.suym

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

* docs: example

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

* fix: not a go module on go 1.15

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

* docs: improve docs as per comments

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-30 21:06:25 -03:00
Carlos Alexandro Becker
00bf745534 docs: improve warning
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-24 23:26:14 -03:00
Carlos Alexandro Becker
be4049e6d8 fix: move shallow clone error to warning
refs #2141 #2134

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-24 23:17:40 -03:00
leonwright
291e497cbc
docs: added documentation for post_install step in homebrew section (#2138) 2021-03-23 11:50:12 -03:00
Carlos Alexandro Becker
cb77d654a0 docs: install options
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-23 09:46:11 -03:00
Carlos Alexandro Becker
7378edc708
feat: allow to use ModulePath on templates (#2128)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-22 08:55:01 -03:00
Carlos Alexandro Becker
a62c6792e0 docs: link to personal access token docs
closes https://github.com/goreleaser/goreleaser/issues/2026

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-22 08:52:26 -03:00
Carlos Alexandro Becker
9f8750dcd2
fix: default gomips (#2124)
* fix: default gomips

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-20 15:17:19 -03:00
Ted Tramonte
0e689b414a
docs: expand GitLab CI examples (#2122)
Docker-in-Docker is overkill for simple binary and archive release purposes. This change adds an example `.gitlab-ci.yml` and some additional explanation on the general GitLab CI process.
2021-03-19 08:54:34 -03:00
Kumbirai Tanekha
28c7a1236b
docs: fix typo in templates.md (#2123) 2021-03-19 08:50:12 -03:00
Kumbirai Tanekha
e0c3abae2e
feat: Add trimprefix function to template package (#2116)
This allows templates to trim prefixes. Particularly useful for removing the v prefix from versions
2021-03-17 14:19:32 -03:00
Peer Xu
c539ee0212
feat: support snapcraft layout (#2112)
* feat: add layout field to snapcraft pipe

* refactor: change bind-file to bind_file for snap description

* doc: update snapcraft layout document
2021-03-17 10:18:56 -03:00
Jonas Plum
fe566ee67c
docs: Add info on skip_upload to scoop (#2110)
* Add skip_upload info to scoop

* Update scoop.md
2021-03-15 12:19:09 +00:00
Carlos Alexandro Becker
c9ffa78c25
feat: package name on nfpm file name template (#2097)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-09 10:57:43 +00:00
Carlos Alexandro Becker
5e23177a4c
fix(ci): go mod tidy (#2090)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-02 21:29:31 -03:00
Carlos Alexandro Becker
25affdd891
fix: log semver errors when snapshot (#2084)
* fix: log semver errors when snapshot

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

* fix: deprecate notice

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-01 14:18:57 -03:00
Roman Dodin
5adf432957
docs: cookbooks: nfpm to fury.io 2021-02-23 14:57:43 -03:00
Carlos Alexandro Becker
0a16e21236 docs: fix version
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-18 15:06:57 -03:00
Carlos Alexandro Becker
424f00f8aa docs: improve depracation warn
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-18 14:56:46 -03:00
Carlos Alexandro Becker
5a1564bcab fix: use deprecation warnings for go 1.15
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-18 14:54:04 -03:00
Carlos Alexandro Becker
6b26fe4106
feat: support go 1.16 and apple silicon (#1956)
* feat: support apple silicon

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

* fix: test

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

* feat: go 1.16

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

* feat: go 1.16

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

* feat: go 1.16

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

* test: fix

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

* fix: test case

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

* Update .github/workflows/build.yml

Co-authored-by: Radek Simko <radek.simko@gmail.com>

* docs: go 1.16

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

Co-authored-by: Radek Simko <radek.simko@gmail.com>
2021-02-16 22:51:11 +00:00
Deepak S
89c220c4c6
fix: makes username and password optional for http uploads (#2057)
* fix: makes username and password optional for http uploads

* update upload doc
2021-02-12 19:01:06 +00:00
Carlos Alexandro Becker
f6f448d84e
docs: clarify cgo a bit (#2056)
* docs: clarify cgo a bit

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

* fix: typos

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-12 09:14:45 -03:00
Dan Rollo
4896e65b93
docs: minor grammar tweak (#2054) 2021-02-11 18:31:46 -03:00
andoks
bcd907e205
docs: fix minor typo in intro.md (#2042) 2021-02-02 10:51:28 -03:00
Carlos Alexandro Becker
74ed844cfc docs: improve landing page
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-21 01:04:16 -03:00
Carlos Alexandro Becker
fcce525a56 docs: improvements
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-21 00:54:12 -03:00
Carlos Alexandro Becker
890a606ede docs: gitlab ci
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-20 23:57:56 -03:00
Glyn Owen Hanmer
502fe7bd11
docs: fix typo in bintray.md (#2018)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-13 19:02:27 +00:00
Sylvia Moss
6d9abe6299
feat: add Os and Arch template options to the Binary name field (#1936)
* allow Os and Arch tmpl variables in binary name

* update documentation

* fix docs
2021-01-12 20:27:46 +00:00
Sune Keller
2213b073ac
feat(http): resolve custom header template expressions (#2005)
* feat(http): resolve custom header template expressions

Signed-off-by: Sune Keller <absukl@almbrand.dk>

* test: catch invalid templates in custom headers

Signed-off-by: Sune Keller <absukl@almbrand.dk>

* test: validate header template resolution

Signed-off-by: Sune Keller <absukl@almbrand.dk>
2021-01-08 11:35:12 +00:00
Carlos Alexandro Becker
e8ea231122
feat: allow to use nfpm packages in the docker pipe (#2003)
* feat: copy nfpms to docker image too

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

* test: wip

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

* fix: logs

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

* test: fixes

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

* test: improving

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

* docs: deprecations and docker improvements

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

* fix: revert .goreleaser.yml changes

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

* test: fix

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

* docs: fix syntax

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

* docs: fixed deprecation warnings

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

* test: fix

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

* test: coverage

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

* test: add one more test case

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

* test: fix

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

* test: fix

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-01-07 19:21:12 +00:00
Sune Keller
f934314be3
feat(http): support custom headers in http upload (#2002)
Signed-off-by: Sune Keller <absukl@almbrand.dk>
2021-01-07 17:15:53 +00:00
Carlos Alexandro Becker
2edebf0029
feat: add arm64 to the default goarch list (#1999)
* feat: add arm64 to the default goarch list

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-07 12:25:52 +00:00
Carlos Alexandro Becker
df10503785 docs: nfpm extra and priority
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-05 22:55:16 -03:00
Carlos Alexandro Becker
f87e1caf26 docs: use_buildx on docker_manifests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 14:31:37 -03:00
Carlos Alexandro Becker
11e3afe1c8 feat: remove deprecated options (brew.github & brew.gitlab)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 14:24:25 -03:00
Carlos Alexandro Becker
ba05388ec6 docs: clarify use_buildx and --load
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 14:20:12 -03:00
Carlos Alexandro Becker
73757acff9 docs: add multi-plat docker images to tutorials
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 12:06:20 -03:00
Carlos Alexandro Becker
0097bdc52d feat: use docker buildx build
refs #1989

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 11:27:27 -03:00
Carlos Alexandro Becker
71c6d96da6 docs: fix nfpm symlink example
closes #1982

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-30 15:49:44 -03:00
Carlos Alexandro Becker
35f87451f3
docs: improve docker_manifest examples (#1973)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:32:40 -03:00
Ronnie
381625e664
docs: add changie to changelog generators (#1970) 2020-12-28 16:38:37 -03:00
Carlos Alexandro Becker
20bdf9def1
feat: upgrade nfpm (#1968)
* feat: upgrade nfpm

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

* feat: upgrade nfpm

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

* fix: test

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

* docs: nfpm

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:40:23 +00:00
Carlos Alexandro Becker
2615b6cd4f
feat: ugprade nfpm (#1964)
* feat: ugprade nfpm

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

* feat: ugprade nfpm

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

* fix: fmt

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

* fix: tests

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

* fix: do not modify list

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-24 02:07:48 +00:00
CrazyMax
f10873d919
Revert "feat: allow automatic snapshot on dirty state (#1958)" (#1962)
This reverts commit d8a0f253d1.
2020-12-22 11:04:51 -03:00
CrazyMax
d8a0f253d1
feat: allow automatic snapshot on dirty state (#1958)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-22 10:41:08 -03:00
Rico
9423da1b60
docs: unify naming of .goreleaser.yml file (#1955)
Since multiple filenames for the config file are allowed, we find several different usages of the file names in the docs:
- .goreleaser.yml
- goreleaser.yml
- .goreleaser.yaml
- goreleaser.yaml

I find that using a single filename in the docs is more intuitive for new users. Hence I replaced all occurrences of the filename with `.goreleaser.yml`.
2020-12-20 10:56:00 -03:00
Vic Shóstak
4c9b060511
docs: add new tutorial (#1943) 2020-12-11 11:57:39 -03:00
Joris Coenen
e3f8178b35
feat: IDs filter for Checksums pipe (#1805)
* Add IDs filter to checksums pipe

This allows specific artifacts to be excluded from the checksums file.

The reason for introducing this, is the requirement of Terraform
Registry releases to only contain the prescribed archives in the
checksums file. If the file contains more, the release is not accepted
by the Terraform Registry.

* Add test case for IDs filter of checksums pipe

* Document IDs filter of checksum pipe

* Always apply type filter for artifacts

This is more in line with how the other ID-filters work.
2020-12-09 08:38:56 -03:00
Suz Hinton
c10e597953
feat: add support for scripts in Scoop manifests (#1931)
* feat: add support for scripts in Scoop manifests

* fix: remove hidden newline from scoop golden file
2020-12-05 12:16:32 -03:00
Carlos Alexandro Becker
8fa7c6977a feat: add only the manifests to the release notes
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-30 21:53:36 -03:00
Manuel Vogel
b0f4c1bac9 docs: update www/docs/customization/scoop.md
Co-authored-by: 6543 <6543@obermui.de>
2020-11-28 16:38:22 -03:00
Manuel Vogel
131023f8dd docs: add gitea defaults for brew and scoop 2020-11-28 16:38:22 -03:00
Carlos Alexandro Becker
e337fc9ca0
feat: multi-arch docker images (#1923)
* feat: multi-arch docker images

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

* feat: split files

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

* docs: manifest

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

* refactor: split files

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

* test: added some

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

* docs: flags

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

* fix: fmt

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

* fix: diff

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

* ci: enable experimental

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

* ci: multi-arch goreleaser images

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-28 16:26:37 -03:00
Carlos Alexandro Becker
c011943613 feat: nfpm symlinks
closes #1861

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-26 23:45:17 -03:00
Carlos Alexandro Becker
cf47e132c9 docs: promote info to warning
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-26 23:19:46 -03:00
Lukas Malkmus
f35534d9d7
feat: make generated brew formulas brew audit compatible (#1908) (#1911)
* feat: add license as first class config key to homebrew (#1908)

* feat: remove trailing whitespace from generated brew formula (#1908)
2020-11-26 10:06:47 -03:00
6543
89105d63ac
feat: upload brew tap to gitea (#1547)
* implement for brew and scoop support for Gitea-hosted repos

* fix test

* add ReleaseURLTemplate support for gitea

* Add TestGiteaReleaseURLTemplate

* fix api to download url conversion

* switch test gitea instance to gitea.com

* fix defaults

* add test for defaults.go (GiteaURLs)

* add option into docs
2020-11-21 10:36:29 -03:00
Ben Sandberg
9a19dee300
docs: fix internal links that result in a broken navigation sidebar (#1909)
I suspect this is something about the mkdocs template, but I'm not familiar enough, and this is easy.
2020-11-19 17:31:26 -03:00
Ben Kochie
f417d7783d
feat: add support for git branch in templates (#1906)
Add a `.Branch` field to the text templates populated by the current git
branch.

Signed-off-by: Ben Kochie <superq@gmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-18 18:50:31 +00:00
Ivan Vandot
20594d6183
add debconf-templates cookbook (#1907)
* add debconf-templates cookbook

* chore: typo

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-11-18 09:55:14 -03:00
Carlos Alexandro Becker
b4f154d81f
fix: improving URLs on linuxbrew (#1900)
* fix: improving URLs on linuxbrew

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

* refactor: rename template fields

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

* fix(tests): adapts brew test formulas and docs

* Revert "fix(tests): adapts brew test formulas and docs"

This reverts commit 51dd8cf6c7.

* fix: template

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

* docs: fixed example

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

Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2020-11-16 09:16:50 -03:00
Carlos Alexandro Becker
671c7ef96e
feat: nfpm rpm.summary and nfpm.ghost_files (#1892)
* feat: nfpm rpm.summary and nfpm.ghost_files

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

* fix: fmt

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-12 10:46:55 -03:00
Carlos Alexandro Becker
9935b87100
feat: support replaces on nfpm (#1888)
* feat: support replaces on nfpm

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

* Update www/docs/customization/nfpm.md
2020-11-06 15:17:08 -03:00
Jonathan Lloyd
17e56747cc
feat: add packager-specific nfpm config (#1849)
* feat: Add deb packager-specific nfpm config (#1829)

* Use env vars containing nfpm ids for deb pgp passphrase

* Add docs for nfpm id in env var

* Custon -> Custom

* Switch test cases

* Forward RPM specific config to nfpm

* Document rpm-specific nfpm config

* Add APK-specific nfpm config

* Document apk-specific nfpm config

* avaiable -> available

* Add deb scripts templates to nfpm config
2020-11-05 18:47:55 -03:00
Per Abich
85f064bcfe
docs: .ArtifactPath is the absolute path (#1870) 2020-10-27 09:31:04 -03:00
Roman Dodin
2848add079
docs: added apk package (#1875)
added apk package to the list of the supported packages in the docs
2020-10-27 09:29:54 -03:00
Carlos Alexandro Becker
ff2495fbd1
feat: allow to disable archive binary count check (#1856)
closes #1855

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-13 17:57:08 -03:00
Carlos Alexandro Becker
2d8823b8cf
feat: snap restart-condition (#1837)
* feat: snap restart-condition

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

* docs: restart-condition

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-06 10:59:53 -03:00
Carlos Alexandro Becker
f41ac3cf9e
docs: gitlab subgroups (#1840)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-06 09:51:32 -03:00
Carlos Alexandro Becker
2c487bc478
docs: improve archive docs (#1838)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-05 22:54:41 -03:00
Yoan Blanc
468387625b
feat: sign: extra option allowing stdin for commands (#1770)
* feat: extra option allowing stdin for the signing command

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

* feat: allow stdin to be an empty string

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

* fix: increase code coverage

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-10-02 16:26:37 -03:00
Artur Troian
c55267f49f
docs: how to cross-compile Go with CGO (#1826)
* docs: how to cross-compile Go with CGO

Signed-off-by: Artur Troian <troian.ap@gmail.com>

* docs: update mkdocs

Signed-off-by: Artur Troian <troian.ap@gmail.com>

* docs: add extenstion to cookbook name

Signed-off-by: Artur Troian <troian.ap@gmail.com>

* docs: fix link to cgo-cross-compiling

Signed-off-by: Artur Troian <troian.ap@gmail.com>
2020-09-30 10:42:26 -03:00
Carlos Alexandro Becker
f3c54f0904 docs: how to publish to nexus
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:41:05 -03:00
Carlos Alexandro Becker
4fa87989a6 docs: improved contributing
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:34:45 -03:00
Carlos Alexandro Becker
9e4d345d25 docs: how to release a library
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:33:52 -03:00
Carlos Alexandro Becker
71299f5663 docs: fix links
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:26:22 -03:00
Carlos Alexandro Becker
180a77c374 docs: how to add a new cookbook
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:24:05 -03:00
Carlos Alexandro Becker
41f6d9ba93 docs: created a cookbooks section
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:20:56 -03:00
CrazyMax
cfd53dc728
docs: Import GPG v3 (#1792)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-07 10:22:45 -03:00
Carlos Alexandro Becker
a92774f602 docs: add nexus example
closes #1549

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-06 11:53:58 -03:00
Carlos Alexandro Becker
58cce33c0f docs: head formulas
closes #1772

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-06 11:22:09 -03:00
Carlos Alexandro Becker
6ec6ad2593 docs: clarify changelog.skip, improve release
closes #1624

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-06 11:14:45 -03:00
Chris Salch
cc3567cde9
feat: Add gobinary option to build configs (#1775)
* Possible implementation of #1235.

Adds the go_binary config option and defualts it to "go".

* Correct docs.
2020-08-30 10:15:33 -03:00
Dan Rollo
37b2f42b93
typo: this to these (#1771) 2020-08-25 22:25:06 +03:00
Carlos Alexandro Becker
e014ad0ae8
feat: allow to create apk packages (#1768)
* feat: upgrade nfpm

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

* feat: allow to create apk packages

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-22 19:00:14 -03:00
Carlos Alexandro Becker
fa5b41332a
feat: allow to disable checksum pipe (#1760)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-16 11:58:59 -03:00
Carlos Alexandro Becker
da22bf8eb8
feat: use go 1.15 (#1759)
* Update to Go 1.15 image (#1758)

* feat: use go 1.15

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

* fix: remove darwin_386

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

Co-authored-by: Simon Jürgensmeyer <sj14@users.noreply.github.com>
2020-08-16 11:29:44 -03:00
Carlos Alexandro Becker
e614bf4d1d
docs: make commands copy-paste friendly (#1754)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-14 18:13:02 -03:00
Mark Karamyar
b0d8ba8fcd
docs: remove --pull option from docker run (#1707)
docker run command has not the option `--pull`
2020-07-27 11:10:15 -03:00
Adam Bouqdib
51a8e73fc8
docs: update bintray instructions (#1704) 2020-07-25 15:05:51 -03:00
Carlos Alexandro Becker
38616dc05f docs: fix broken link
closes #1633

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-23 14:31:29 -03:00
Jeremy Gustie
d798106316
docs: fix OCI annotation example (#1677)
Signed-off-by: Jeremy Gustie <jeremy@gustie.com>
2020-07-17 13:49:38 -03:00
Fedor Korotkov
fae5f93b18
docs: configuring with Cirrus CI 2020-07-14 14:32:09 -03:00
Venki Balakrishnan
164fa902df
docs: Update quick-start.md (#1667)
* docs: Update quick-start.md

Add detail that the `.goreleaser.yml` needs to be checked-in. See - https://github.com/goreleaser/goreleaser/discussions/1666

* Update www/docs/quick-start.md

Co-authored-by: Radek Simko <radek.simko@gmail.com>

Co-authored-by: Radek Simko <radek.simko@gmail.com>
2020-07-13 08:37:55 +00:00
Brian Flad
01fd3e8c7b
feat: support closing milestones (#1657)
* feat: support closing milestones

Reference: https://github.com/goreleaser/goreleaser/issues/1415

* refactor: Adjust milestone handling for code simplification, add ErrNoMilestoneFound, and fix milestone documentation close default

Reference: https://github.com/goreleaser/goreleaser/pull/1657#pullrequestreview-445025743

* refactor: Use single repo config in milestones instead of each VCS

* fix: Ensure milestone Pipe is included in Defaulters

* feat: Add fail_on_error configuration to milestone configuration

Co-authored-by: Radek Simko <radek.simko@gmail.com>
2020-07-09 21:40:37 +01:00
Radek Simko
b05c95a00f
docs: add missing quotes around templating syntax (#1654) 2020-07-07 09:48:11 -03:00
Radek Simko
ab8bb7f2f3
feat: support custom tokens in Homebrew & Scoop (#1650) 2020-07-06 17:12:41 -03:00
Paul Tyng
0d4f605388
feat: deterministic / reproducible build support (#1641)
* Make checksum ordering consistent

* Use consistent time for build date

* Add commit date to templates

* Add config option for build mod timestamp

* Make goreleaser builds reproducible

* Fix error in wording

* Update www/docs/customization/build.md
2020-07-06 17:09:22 -03:00
Radek Simko
998e377627
refactor: align Homebrew repo handling with Scoop (#1649) 2020-07-06 10:48:17 -03:00
Kevin Goslar
345b91703a
Fix typo (#1647) 2020-07-05 02:00:19 +03:00
reddec
adbe42b198
feat: add nfpm meta mackages (#1620)
* add nfpm meta flag - ignore binaries

* docs: update nfpm.md

* Update www/docs/customization/nfpm.md

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-06-19 11:04:10 -03:00
Carlos Alexandro Becker
515e4da190
docs: action version semver range (#1611)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-16 12:52:41 +00:00
Carlos Alexandro Becker
54d1ca1d6d
docs: unshallow action (#1610)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-16 09:37:11 -03:00
Kamil Samigullin
3e9fdf3705
docs: remove incorrect quotes (#1607) 2020-06-15 09:52:41 -03:00
Masih H. Derkani
6befe368e5
docs: fix typo in Note (#1600) 2020-06-10 10:43:38 -03:00
Weslei Juan Moser Pereira
6fc7cb769a
docs: include simple multiple binary example (#1596) 2020-06-09 10:04:46 -03:00
Aggelos Kolaitis
0c0063a5b4
feat: Support custom command and extra files in snaps (#1553) 2020-06-06 15:07:18 -03:00
Kévin Dunglas
99672b5c8a
docs: Fix link to "sign" (#1573) 2020-05-27 08:58:38 +01:00
Radek Simko
c908f74c41
docs: Format markdown tables (#1569)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-26 13:24:59 -03:00
Weslei Juan Moser Pereira
c805451de0
feat: Added extra files to blob (#1535)
* Reordered indexes in docs

* Fix customization order

* Implemented extra files

* Added tests for extra files

* Added docs

* Fix test with defaults

* Removed path and folder from extra_files

* Fix scope lint

* Removed dead code

* Removed dead code

* Added test for common package

* Fix linting

* Removed false positive from golangci

* Requested changes
2020-05-25 15:07:40 -03:00
CrazyMax
843262e3cc
docs: bump ghaction-import-gpg (#1555)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-24 15:20:48 +00:00
Grachev Mikhail
207ee49853
feat: add support brew dependency types (#1554)
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
2020-05-24 12:10:25 -03:00
Radek Simko
363aa74dcb
feat: Expose semver for snapshots (#1557) 2020-05-24 15:05:49 +00:00
Yoan Blanc
a48ddc3828
feat: allow signing only the source (#1552)
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-23 17:39:59 +00:00
小明同学
6b80d90ac7
docs: fix grammar (#1536) 2020-05-21 09:33:11 -03:00
Weslei Juan Moser Pereira
b8d32449f4
docs: added docs for Jenkins pipeline (#1527)
* Added docs for Jenkins

* Added index
2020-05-18 22:15:47 -03:00
Radek Simko
983f342ab8
feat: Add build command (#1520)
* feat: Add build command

* feat(cmd/build): Add skip-post-hooks flag

* Update internal/pipeline/pipeline.go

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

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-05-15 11:19:20 -03:00
Carlos Alexandro Becker
7bae28e167
docs: deprecations
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-12 09:21:27 -03:00
Carlos Alexandro Becker
751bcf523a
docs: small improvements
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-11 09:35:58 -03:00
Carlos Alexandro Becker
f69fe9e83a
docs: improve wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 19:47:55 -03:00
Carlos Alexandro Becker
31a32e254e
docs: some other improvements (#1504)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 19:37:28 -03:00
Carlos Alexandro Becker
943ef1d81f
docs: improvements (#1501)
* docs: enable instant

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

* fix: minify html

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

* fix: edit uri

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

* fix: remove uneeded meta

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

* docs: several improvements

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

* fix: broken links

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 18:59:21 -03:00
Carlos Alexandro Becker
e6de182f6c
docs: move back to www
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 17:32:55 -03:00