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

1343 Commits

Author SHA1 Message Date
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
Carlos Alexandro Becker
c8220e5ab4 docs: fix broken link
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-12 16:02:30 -03: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
cdff6487e1 docs: ignore twitter 400 on htmltest
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:34:30 -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
Carlos Alexandro Becker
9012f61d41 fix: htmltest config
refs #1745

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-12 18:28:35 -03:00
Carlos Alexandro Becker
74c4af77e4 chore(ci): fix htmltest config
refs #1745

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-12 10:50:50 -03:00
Carlos Alexandro Becker
414e10693d
fix(ci): htmltest failing with 416 on some sites (#1721)
* fix(ci): htmltest failing with 416 on some sites

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

* fix: headers config

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

* fix: action

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

* fix: path

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-04 00:29:24 -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
931cc4d51e
docs: Alphabetical indexes reordered (#1533)
* Reordered indexes in docs

* Fix customization order
2020-05-19 10:12:24 -03:00
Carlos Alexandro Becker
baf2182051
fix(ci): htmltest failing checks (#1529)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-19 02:19:03 +00: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
1be1073857
chore(ci): htmltest workflow (#1506)
* chore(ci): htmltest workflow

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

* fix: syntax

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

* fix: workflow

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

* fix: alt

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

* feat: rename workflow

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 19:33:09 -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
5b489b8d85
fix: syntax
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 18:00:49 -03:00
Carlos Alexandro Becker
7ae5c4cff7
docs: tuning search
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 17:59:10 -03:00
Carlos Alexandro Becker
ee81ac9039
docs: tuning search
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 17:57:40 -03:00
Carlos Alexandro Becker
312fe7758e
docs: disable instant
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 17:53:46 -03:00
Carlos Alexandro Becker
7301ec7a37
docs: disable search
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 17:50:33 -03:00
Carlos Alexandro Becker
3c6ebe46da
fix: social icons
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 17:48:55 -03:00
Carlos Alexandro Becker
f5224a6c16
docs: search english only
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 17:47:47 -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
Carlos Alexandro Becker
4c62e4c409
docs: new docs with mkdocs (#1497)
* docs: new docs with mkdocs

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

* docs: new docs with mkdocs

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

* docs: new docs with mkdocs

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

* docs: new docs with mkdocs

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

* docs: new docs with mkdocs

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

* docs: new docs with mkdocs

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

* docs: new docs with mkdocs

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

* docs: new docs with mkdocs

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

* fix: merge issues

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

* fix: merge issues

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

* fix: merge issues

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

* feat: package.json

for vercel/now deployment

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 16:57:11 -03:00
CrazyMax
f142ed67a8
docs: Use template for signs.args in GitHub Action doc (#1494)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-10 16:16:17 +00:00
Radek Simko
8749030d3b
feat: Add support for custom publishers (#1481)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-10 16:03:49 +00:00
Carlos Alexandro Becker
31fedc4e67
feat: allow to template sign.args (#1493)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 12:50:35 -03:00
Carlos Alexandro Becker
6433f8649d
docs: clarify binary format
closes #1490

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 12:50:07 -03:00
CrazyMax
3841505619
docs: GoReleaser Action v2 (#1492)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-10 15:40:51 +00:00
CrazyMax
cafc9997b0
docs: Update GitHub Actions page (#1486)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-07 09:13:46 -03:00
Radek Simko
8f8063c495
docs: Fix Scoop installation instructions (#1485) 2020-05-06 09:58:25 -03:00
Zach Leslie
0f7ff6247b
feat(scoop): provide config option to change commit message (#1467)
Without this change, users unable to control the resulting commit message of the
scoop update.  In some environments this may present an issue with commit
linters that require a specific commit message format in order to build proper
change logs and make decisions.  Here we include a Scoop config option to use a
format string provided by the user during the commit.
2020-04-29 17:45:18 -03:00
Carlos Alexandro Becker
244ca69a09
docs: syntax on example
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-22 22:59:29 -03:00
Carlos Alexandro Becker
f0cc74521c
docs: improve github repo guessing docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 13:21:04 -03:00
Carlos Alexandro Becker
1f11eb0e6d
docs: update build flags
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 13:18:45 -03:00
Carlos Alexandro Becker
2f16c4c653
feat: remove deprecated nfpm options and puts (#1442)
also updated docs

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-19 19:54:07 -03:00
Radek Simko
bda76d669d
docs: Update signing section to reflect build hooks (#1439) 2020-04-14 00:41:39 -03:00
J Taylor
26726bf8df
docs: add tar.xz to www content (#1441) 2020-04-13 15:01:14 +00:00
Carlos Alexandro Becker
a5f0343368
feat: improve check command (#1435)
* feat: improve check command

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

* fix: main test

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

* fix: tests

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

* fix: tests, finally

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

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 14:31:35 -03:00
Radek Simko
8032d12052
feat(pipe/build): Add support for flexible build hooks (#1414) 2020-04-12 12:13:20 -03:00
Carlos Alexandro Becker
7fe4d0ae79
feat: upload source archive (#1379)
* feat: upload source archive

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

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 11:47:46 -03:00
Lukas Spieß
88213a50fc
docs: Use "brews" plural form in documentation (#1423) 2020-04-05 00:02:06 +00:00
Leonardo Grasso
1cf9100ecc
feat: build.skip option, support for library projects (#1419)
* fix: checksum pipe will not return an error when artifact list is empty

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

* new: build.skip option for libraries

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

* docs: update doc with build.skip option

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
2020-04-02 13:18:05 +00:00
Yoan Blanc
06fa65fce5
docs: a name key is required (#1406)
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-30 13:21:32 -03:00
Carlos Alexandro Becker
0126a1f32b
feat: remove deprecated blob and sign (#1397)
* feat: remove deprecated blob and sign

you should now use blobs and signs instead.

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 16:26:22 -03:00
Carlos Alexandro Becker
22c9e04efd
feat: allow to use Release and Epoch on nfpm name template (#1396)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 13:54:47 -03:00
Carlos Alexandro Becker
278e17c502
docs: point to discussions
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 11:57:12 -03:00
Carlos Alexandro Becker
f18a5d1fee
docs: snapshot fix
closes #1388

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-16 11:40:17 -03:00
Carlos Alexandro Becker
70c9e291ce
fix: http.target template (#1371)
* fix: http.target template

refs #1357

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

* fix: remove unused struct

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

* fix: test

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:45:05 -03:00
Carlos Alexandro Becker
02042937ec
feat: upgrade to go 1.14 (#1372)
* feat: upgrade to go 1.14

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>

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:24:51 -03:00
Carlos Alexandro Becker
969fb4b804
feat: templateable archive.files (#1373)
* feat: support variable substitution in archive.files

* Update internal/pipe/archive/archive.go

* feat: templateable archive.files

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

* docs: templateable archive.files

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

Co-authored-by: Robbie Ostrow <ostrowr@users.noreply.github.com>
2020-03-04 00:52:43 -03:00
Craig Furman
139d13cc57
docs: Improve GitLab CI (#1369)
Fix typos that referenced GitHub.

Move config to job level. Users can extract elements to global config if
necessary, but since the snippet has no other jobs the use of global
config added confusion.

Disable shallow clones to fix changelogs.

Update use of GitLab image registry to use the USER/PASSWORD vars and
clarify that they are automatically set on jobs running on GitLab
instances with the image registry enabled.

Document use of `only` to not release every commit (optionally).

Format nested docker goreleaser command multi-line.

Document purpose of GITLAB_TOKEN.
2020-03-03 23:55:13 -03:00
Craig Furman
61fb8f50cc
fix: infer project name from GitLab/Gitea release (#1364) 2020-02-26 09:38:07 -03:00
dotwoo
d03c0aa0be
feat(nfpm): add nfpm release config (#1363)
add config.NFPM.Release  to set  nfpm release
2020-02-26 08:59:52 -03:00
Ted Wexler
4a4e947f8d
docs: clarify usage of --snapshot in quick start docs (#1356) 2020-02-20 15:39:42 -03:00
Ben Kochie
7625a70812
fix: Use go mod download (#1345)
Recommend using `go mod download` rather than `go mod tidy` for fetching
dependencies. The `tidy` function is used to update things and chagnes
the dependency graph. Using the `download` function avoids any changes.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-02-17 09:13:28 -03:00
Carlos Alexandro Becker
d7c540523d
feat: upload extra files to the release (#1333)
* feat: upload extra files to the release

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

* fix: retry upload

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

* fix: go mod tidy

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

* fix: globs

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

* fix: globs

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

* fix: typo

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-11 16:10:41 -03:00
Bao Nguyen
dd35f28d51
feat: Add the ability to place artifact name (#1338)
This commit exposes the Artifact name as a template variable so that the
artifact name can be moved around within the `targetURL`. This enable users to
manipulate the target URL as desired in order to pass in PUT parameters that
doesn't always following the currently defined `targetURL` which append the
artifact name to the end.

This is needed to address[1] by enable the ability to add metadata to
Artifactory REST API [2] as the URL parameters, which need to be after the
artifact names.

It's important that this is backward compatible with existing release
configurations so this is an opt-in option, if it's omitted or not set, no
changes to exist configurations. When enabled with `CustomArtifactName=True` as
part of HTTP Upload options `Artifact.Name` will no longer be appended to the
end of TargetURL.

[1]:https://github.com/goreleaser/goreleaser/issues/1336
[2]:https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-Example-DeployinganArtifact
2020-02-10 22:59:57 -03:00
Carlos Alexandro Becker
d85fff06a2
fix gomips support (#1331)
* wip: fix gomips

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

* wip: fix gomips

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

* test: added more

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

* test: added more

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-05 22:08:18 -03:00
hackerman
ca3a63a537
feat: use CI environment variables to figure out tag (#1327)
* fix(git): Use CI envronment variables to figure out tag

This patch detects CI environments and uses the available tag information when
collecting the git tag.

This resolves issues where one commit has multiple tags.

Closes #1163
Closes #1311

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/build.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* feat(doc): Document git tag override in environment

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-01-31 15:38:56 -03:00
Carlos Alexandro Becker
8408c1b83d
docs: improve docs on sign
closes #1319

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-30 10:09:47 -03:00
Carlos Alexandro Becker
181799c9c8
feat(sign): id, concurrent map (#1321)
* feat(sign): id, concurrent map

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

* fix: more tests

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

* fix: comments

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-30 00:21:45 -03:00
Carlos Alexandro Becker
1a4e2423fc
docs: clarify release.ids
refs #1320

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-29 21:47:22 -03:00
Carlos Alexandro Becker
479798126e
feat: remove deprecated brew config (#1313)
* feat: remove deprecated brew config

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

* fix: wording

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

* fix: wording

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

* fix: defaults

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

* fix: defaults

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

* fix: defaults

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 18:36:01 -03:00
Carlos Alexandro Becker
3bfb36355e
feat: support to gomips (#1288)
* feat: support to gomips

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

* fix: prefix

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 14:36:00 -03:00
Carlos Alexandro Becker
5f2cf501e8
feat: remove deprecated s3 pipe (#1291)
* feat: remove deprecated s3 pipe

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

* fix: go mod tidy

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 12:25:27 -03:00
Yoan Blanc
1d7098ed42 docs: invite people to use docker --pull (#1305)
* www/docker: invite people to use --pull

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

* fixup! www/docker: invite people to use --pull

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

* goreleaser: label-schema is deprecated

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

* fixup! goreleaser: label-schema is deprecated

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

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-01-26 12:06:21 -03:00
CrazyMax
b367abd785 docs: run only on new tag note on github actions (#1306)
* docs: run only on new tag note on github actions

* Complete example
2020-01-26 11:50:53 -03:00
taormania
1b04c6517a Remove reference to deprecated download strategy (#1304) 2020-01-26 11:50:26 -03:00
jonjohnsonjr
0a190ef390 docs: fix typo (#1309)
macthes -> matches
2020-01-26 11:45:58 -03:00
Carlos Alexandro Becker
5793445dc6
docs: update travis docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 11:35:19 -03:00
Carlos Alexandro Becker
d1e23e99e8
docs: unshallow on github actions (#1298)
refs https://github.com/goreleaser/goreleaser-action/issues/69

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-14 10:11:21 -03:00
Tadej Janež
1943d3147b feat: specify (sub)directory with go code when building (#1273) 2020-01-13 14:23:00 -03:00
Carlos Alexandro Becker
bf11822a7e
docs: improve wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-08 11:11:09 -03:00
Carlos Alexandro Becker
d5dba76781
fix: syntax highlight
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-08 11:02:04 -03:00
Carlos Alexandro Becker
8defb77b0e
feat: remove singular archive config (#1282)
* feat: remove singular archive config

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-29 15:02:15 -03:00
Carlos Alexandro Becker
468401bc54
feat: remove singular snapcraft config (#1281)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 17:31:03 -03:00
Carlos Alexandro Becker
885a9710e5
feat: remove deprecated nfpm (#1280)
* clean: remove deprecated nfpm

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 14:51:40 -03:00
Carlos Alexandro Becker
05116ff8e6
feat: added blob.region and blob.disableSSL (#1279)
* feat: added blob.region and blob.disableSSL

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

* fix: simplified url

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 14:18:41 -03:00
Carlos Alexandro Becker
6edf6698cb
feat: docker builds filter (#1275)
* feat: docker builds filter

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

* docs: docker builds filter

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

* test: fixed

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 11:55:03 -03:00
Carlos Alexandro Becker
c95a9c8c15
docs: signing with mitchellh/gon (#1277)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-26 23:14:40 -03:00
CrazyMax
c5e9ba938d docs: Update GitHub Actions page (#1274) 2019-12-24 10:52:45 -03:00
Carlos Alexandro Becker
85a0168c9b
docs: nfpm file glob
closes #1266

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-22 15:06:34 -03:00
Leigh McCulloch
6a759c1b95 fix: docs about default ldflag template (#1265)
The docs state that the default ldflags includes the ShortCommit but in
reality the code uses the longer Commit value instead. This behavior has
existed since the defaults were introduced ~3 years ago in commit
4af2cb0.

Fixes #1264
2019-11-27 21:38:22 -03:00
Carlos Alexandro Becker
2dc3ae3010
feat: fully support all s3 pipe feats on blob (#1253)
* feat: fully support all s3 pipe feats on blob

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

* fix: tidy deps

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

* docs: document endpoint option

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-20 13:08:25 -03:00
Carlos Alexandro Becker
b0481a14e0
feat: http POST (#1246)
* feat: http POST

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

* feat: http POST

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

* fix: deprecate

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

* fix: upload tests

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

* fix: artifactory

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

* fix: http username validation

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

* fix: renames

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-18 10:34:17 -03:00
Carlos Alexandro Becker
173edbac54
feat: change default snapshot version template (#1248)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-15 18:23:25 -03:00
Carlos Alexandro Becker
0953c2f4f7
feat(nfpm): allow to change package name (#1244)
* feat: allow to change package name

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

* fix: typo

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-15 16:00:48 -03:00
Carlos Alexandro Becker
4719763c4a
feat: filter by id on sign pipe (#1233)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-08 09:10:56 -03:00
Gustavo Chaín
3d95590238 feat: add basic string function to template (#1232) 2019-11-07 14:49:36 -03:00
Ricardo N Feliciano
ff584f0731 docs: Update CircleCI example (#1224) 2019-11-01 09:25:36 -03:00
nadoo
5f0ad328be docs: add GITHUB_TOKEN to github action file (#1210)
without it goreleaser will have no rights to publish files on github.
2019-10-21 08:33:19 -03:00
Toshimaru
c1547a317a docs: add goreleaser + GitHub Actions post (#1209) 2019-10-21 08:31:33 -03:00
Karuppiah Natarajan
7151b99bed docs: add instructions for installing using shell script
Fixes #1197
2019-10-20 11:00:29 -03:00
Deavon M. McCaffery
93259b0683 feat(release): add artifact filter (by id) to release pipe (#1203)
* feat(release): add artifact filter (by id) to release pipe

* add `ids: string[]` to release configuration
* add support for filtering artifacts by id within the release pipe

* update docs for release
2019-10-19 16:01:11 -03:00
Carlos Alexandro Becker
a6da05b855
docs: archives example
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-17 16:17:24 -03:00
Carlos Alexandro Becker
44038a2f50
feat: nfpm without rpmbuild (#1187)
thanks @djgilcrease for all the hard work on nfpm
and google/rpmpack.

thanks to @jarondl who works on rpmpack as well.

great work everyone! 🚀

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-11 09:00:19 -03:00
CrazyMax
9423bb2abb Use v1 as recommended by GitHub (#1183) 2019-10-09 15:45:07 -03:00
Carlos Alexandro Becker
e0ef20341a
docs: stack overflow link
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-29 13:13:46 -03:00
CrazyMax
8fab55b555 docs: Use GoReleaser Action (#1161) 2019-09-29 11:32:25 -03:00
Manuel Vogel
d1e97a3fd8 fix: brew multiple archives on one tap (#1153)
* fix: tmp simplify

* refactor: brew tests for mutiple archives per os

* feat: adds keep latest goarm version and uses it for brew

* chore: adapts golden brew test file for arm version

* test: brew for multiple arm versions

* refactor(test): brew for multiple arms

* docs: updates homebrew

* Revert "fix: tmp simplify"

This reverts commit 946a2fa1b1.

* feat: adds goarm version to brew

* fix: filter chain for one goarm version

* chore: removes unused keep latest arm version filter

* refactor: brew tests

* fix: removes test for keep latest arm version

* docs: updates homebrew for goarm property

* chore: updaes err msg for brew multiple archives same os
2019-09-26 21:46:05 -03:00
Carlos Alexandro Becker
3120a38c64
feat: go 1.13 (#1135)
* feat: go 1.13

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

* fix: go.mod

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

* feat: update to go 1.13

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

* bump: deps

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

* fix: deps

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

* fix: trying replace

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

* fix: go mod init

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

* fix: disable funlen lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-13 09:53:56 -03:00
Carlos Alexandro Becker
2c08ab87a1
docs: fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-06 10:45:23 -03:00
Carlos Alexandro Becker
a07035614a
docs: brew download strategy
closes #967

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-31 10:33:06 -03:00
Marko Bevc
a7f049e941 docs: Update GitHub actions with new YAML syntax (#1130)
* fix: Update GitHub actions with new YAML syntax

* Update www/content/actions.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/actions.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2019-08-30 10:18:25 -03:00
Carlos Alexandro Becker
d82565fb24
fix: go mod tidy everywhere
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-27 14:12:19 -03:00
dtluna
eb40d8682b feat: gitea release support (#1114)
* adds gitea release support
* closes #1106
2019-08-26 09:31:38 +02:00
Carlos Alexandro Becker
0847b30afa
docs: remove blob from index
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-19 10:59:49 -03:00
Manuel Vogel
54b2d0de25 docs: supported gitlab versions (#1116)
* chore: updates to latest gitlab dep version

* update gitlab version in bug report template

* updates docs for gitlab version on releases

* runs mod tidy
2019-08-14 10:07:59 -03:00
Manuel Vogel
e92bbe32ce feat: full gitlab support for brew and scoop (#1084)
* makes context tokentype a public var

* passes artifacts object into client upload function. extracts gitlab upload hash from url

* adds gitlab url to brew config

* build brew formula depending on token type

* fixes client for release tests

* fixes exiting brew tests

* fixes scoop test with dummy client adaption

* uses new artifact upload hash

* fixes brew usage

* updates gitlab createFile for brew

* fixes logging for non-existing file in gitlab logging

* fix: gitlab createFile

* fix: removes encoding from gitlab create and update file opts

* fix: gitlab upload and artifact set upload hash

* fix: linter

* changed artifact item to a pointer in ctx

* docs: updates homebrew

* feat: enables scoop for gitlab release

* fix: scoop panic for pointer access

* chore: rename formula build func for brew

* chore: brew removes comments

* fix: brew tests

* test: updates brew tests

* docs: updates homebrew

* test: for token type not implemented for brew

* tests: for multiple linux builds

* fix: build artifacts are pointer in scoop

* test: for scoop and gitlab

* test: for artifacts set upload hash

* adds missing files after adaption

* chore: removes and clarifies comments

* fix: moves artifact upload hash to extra map

* adds comment why we initialize the extra map
2019-08-13 15:28:03 -03:00
Navie Narula
b01bcabe96 docs: clarify shallow clone behavior (#1102)
* Clarify shallow clone behavior

* Update www/content/ci.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2019-08-09 11:27:55 -03:00
Carlos Alexandro Becker
516c348f6e
clean: remove deprecated docker options (#1098)
* clean: remove deprecated docker options

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

* ci: gocenter is slowwww

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

* clean: remove uneeded test

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

* Revert "ci: gocenter is slowwww"

This reverts commit 7e4b1eb244.
2019-08-02 21:03:54 -03:00
Carlos Alexandro Becker
ba0e472247
feat: add goreleaser check (#1096)
* feat: add goreleaser check

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

* docs: added to deprecations.md

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

* docs: added to bug.md

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

* test: added tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 16:37:50 -03:00
Carlos Alexandro Becker
844f95a2d0
fix: pluralize blob in the config file (#1095)
* fix: pluralize blob in the config file

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

* test: added tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 16:17:38 -03:00
Carlos Alexandro Becker
853b991ecc
docs: projects using goreleaser
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-27 10:45:59 -03:00
Carlos Alexandro Becker
5c16574c8c
feat: multiple sign (#1088)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-21 18:46:46 -03:00
Kei Arima
b3fa5cf1fd docs: fix typo in deprecations doc (#1085) 2019-07-17 16:41:18 -03:00
Manuel Vogel
31e27e918d fixes env usage description for docker images (#1083) 2019-07-16 18:10:45 -03:00
Simon Prochazka
aaa39e98c9 Improve formatting of drone section in CI guides (#1069) 2019-07-06 17:09:22 -03:00
Simon Prochazka
0eb99a404e Update CI for Drone 1.0 (#1068) 2019-07-05 11:21:46 -03:00
Simon Prochazka
aec878ffa9 Update tutorials.md (#1065) 2019-07-05 09:43:45 -03:00
Carlos Alexandro Becker
56c0cf0699
feat: update nfpm (#1063)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-29 12:26:01 -03:00
Manuel Vogel
eb7ba2a294 feat: add gitlab for releases (#1038)
* outlines gitlab client integration

* makes client parameter more explicit

* adds gitlab url to config

* changes releaseID to string to adapt to gitlab

* updates to latest gitlab client lib 0.18

* fixes copy paster in gitlab upload func

* fixes gitlab typo in config

* adds gitlab token to env and context

* release now uses the client factory method

* skips brew pipe if it is not a github release

* add github tokentype to publish tests

* skips scoop pipe if it is not a github release

* corrects brew skip msg

* adds gitlab token to main test

* adds gitlab to release docs

* validates config and errors accordingly

* adapt release pipe name to include gitlab

* fixes gitlab client after testing

* moves not-configured brew and scoop pipe checks as first check

* adds more debug to gitlab client

* adapts changelog generation for gitlab markdown

* adds debug log for gitlab changelog

* env needs to run before changelog pipe

* moves gitlab default download url to default pipe

* moves multiple releases check to from config to release pipe

* release differs now for github and gitlab

* adds debug gitlab release update msgs

* moves env pipe as second after before because it determines the token type other pipes depend on

* adaptes error check on gitlab release creation

* Revert "adaptes error check on gitlab release creation"

This reverts commit 032024571c.

* simplifies gitlab client logic. removes comments

* skips tls verification for gitlab client if specified in config

* updates the docs

* adds clarification that brew and scoop are not supported if it is a gitlab release

* fixes copy paster in release.md

* adds missing blob pipe in defaults and publish due to missing in merge

* updates comment in gitlab client
2019-06-29 11:02:40 -03:00
Carlos Alexandro Becker
0a8478bf19
docs: lint with misspell
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-28 10:13:56 -03:00
C123R
728154b7d7 docs: fix typos in blob doc (#1062) 2019-06-28 10:07:21 -03:00
Carlos Alexandro Becker
1cf34166b6
docs: fix build docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-28 09:09:19 -03:00
C123R
ce5ade64c1 fix: blob provider authentication issues for default aws mechanism (#1061)
* fix: blob provider authentication issues for default aws mechanism

* remove commented code

* docs: update the authentication doc

* fix: linter issues
2019-06-28 08:51:19 -03:00
Tom Payne
c9546ec81b feat: add support for completer in snaps (#1055)
* feat: add support for completer in snaps

* test: add completer test
2019-06-22 22:37:55 -03:00
Rob De Feo
158835f281 docs: Add Cross compile with CGO and GoReleaser (#1054) 2019-06-19 08:36:11 -03:00
Carlos Alexandro Becker
1ef9906e04
feat: multiple brew / linuxbrew (#1043)
* feat: multiple brew / linuxbrew

* feat: multiple brew / linuxbrew

* test: added missing tests

* docs: brews

* docs: deprecate brew

* test: fix tests

* fix: fmt

* test: fix tests
2019-06-10 10:35:19 -03:00
Carlos Alexandro Becker
60b9584361
feat: id filter on s3/blob pipes (#1042)
* docs: deprecate s3 in favor of blob

* feat: id filter on s3/blob pipes

* fix: close res.body
2019-06-09 16:51:24 -03:00
Ricardo N Feliciano
6926fb1ab1 docs: fix snap install command (#1039) 2019-06-06 01:20:35 -03:00
C123R
73b74a3169 feat: add support for pushing artifacts to cloud storage provider( S3, Azure Blob, GCS) (#1036)
* feat: adding support to push artifacts to AWS S3,Azure Blob and Google Cloud Storage

readme for blob publisher

test: add unit test for blob using testify and mockery

test: add unit test for publish method

fix: openbucket instance initialization

remove unwanted packages: go mod tidy

test: add missing unit test for publish method

* doc: add missing comment for func

* fix: add accidental delete file

* fix : add missing Snapcrafts project

* fix: unit test for Azure blob

* fmt: rewrite if-else-if-else chain to switch statement and fix golangci-lint reporeted issue

* fmt: fix linter reporeted issues

fmt: rewrite if-else-if-else chain to switch statement and fix golangci-lint reporeted issue

fmt: linter fix

* test: fix typo in test error string

* feat: add support to provider folder inside bucket, resolves discussed comments
2019-06-05 10:51:01 -03:00
Kostis (Codefresh)
fb81242c84 docs: added Codefresh instructions (#1037) 2019-06-03 09:18:27 -03:00
Grachev Mikhail
24c9a4e6f5 docs: fix typo (#1032) 2019-05-29 11:18:33 -03:00
Carlos Alexandro Becker
d355350f63
fix: nfpm id (#1030)
* fix: nfpm id

* fix: import order
2019-05-29 09:13:52 -03:00
Carlos Alexandro Becker
86c5b93260
feat: improved version command (#1028)
* feat: improved version command

* fix: typo

* test: fixed failing tests
2019-05-27 23:59:33 -03:00
Carlos Alexandro Becker
3ec6e5f05b
feat: multiple snapcraft (#1025)
* feat: multiple snapcraft

* test: more tests
2019-05-27 12:47:05 -03:00
Henk
579013d178 docs: Document GitLab CI (#1024)
* docs: Document GitLab CI

* docs: Document GitLab CI
2019-05-26 11:27:28 -03:00
Carlos Alexandro Becker
d9e89f69c7
feat: filter PUT by ID (#1016) 2019-05-17 10:25:01 -03:00
Carlos Alexandro Becker
8cb0632aec
docs: build from source steps
refs #1013
2019-05-14 11:22:56 -03:00
Carlos Alexandro Becker
c98d3881f7
refactor: id validations (#1015) 2019-05-07 07:18:35 -03:00
Carlos Alexandro Becker
19ed7564b4
feat: multiple nfpm (#1014)
* feat: multiple nfpm

* docs: improvements
2019-05-07 06:59:53 -03:00
Carlos Alexandro Becker
76fa5909a2
docs: social improvements 2019-04-23 06:18:22 -03:00
Grachev Mikhail
2b8258f003 feat: add base key to snapcraft (#1011) 2019-04-18 17:21:40 -03:00
Grachev Mikhail
3da2b375c9 feat: add license to snapcraft (#1010) 2019-04-17 17:26:30 -03:00
Carlos Alexandro Becker
b8f5901265
feat: multiple archives (#942)
* feat: multiple archives

* fix: several things

* test: fixed

* fix: several things

* fix: archive id on the artifact

* fix: deprecated since

* docs: deprecations page improvements
2019-04-16 10:19:15 -03:00
Carlos Alexandro Becker
d8818c2683
docs: added another tutorial link 2019-04-15 12:53:21 -03:00
Carlos Alexandro Becker
5df1cac60a
feat: templates and inherit global env on build hooks (#1007)
* feat: templateable hooks

* test: improved test

* docs: docs about templateable hooks

* test: improve test

* test: skip test that only fails on travis
2019-04-14 15:16:20 -03:00
Carlos Alexandro Becker
15475c6484
feat: build id (#1008)
* feat: build id

* test: added more tests

* fix: imports
2019-04-14 15:16:01 -03:00
Simon Barendse
ce69ee5316 fix: use the filename of the binary in snapcraft (#1001)
* fix: use the filename of the binary in snapcraft

When builds.binary is a path, only use the filename as the name
of the snapcraft app and as the command, instead of the full path.

* docs: use a path in the binary name
2019-04-09 09:14:28 -03:00
Grachev Mikhail
94aca802af docs: fix typo (#999) 2019-04-07 02:22:46 -03:00
Carlos Alexandro Becker
0ad3baeea2
docs: improve docs 2019-03-24 20:17:01 -03:00
Carlos Alexandro Becker
367c6c0d1d
docs: improve docs 2019-03-24 20:10:30 -03:00
Carlos Alexandro Becker
6f2f760875
docs: GORELEASER_GITHUB_TOKEN on actions 2019-03-14 11:06:26 -03:00
Carlos Alexandro Becker
7c712120bc
feat: added Plugs attribute to snapcraft.Metadata (#984, #980, #979)
* feat: added Plugs attribute to snapcraft.Metadata allowing plugs to be configured as plugs.<plug-name>.<attribute-name>

* fix (test): added snapcraft plugs configuration test

* fix: snapcraft Metadata to use correct data type for Plugs

* fix: refactor Snapcraft Plug configuration

* fix: test on newer snapcraft
hopefully

* docs: snap plugs
2019-03-14 09:56:11 -03:00
smaftoul
f56b9a8509 fix: Allow brew with github actions (#982) (#983) 2019-03-14 09:13:12 -03:00
Roman Volosatovs
9081caba5e feat: ability to skip Docker update for pre-releases (#977) (#978) 2019-03-06 13:17:53 -03:00
Carlos Alexandro Becker
cf4aba68d3
feat: global env and template-able before hooks (#974)
* feat: global env

* docs: hooks templateable, global env

* docs: hooks templateable, global env

* feat: templas on before hooks

* docs: revert unwanted change

* fix: use os.environ too

* chore: travis

* fix: goreleaser.yml
2019-03-03 14:12:22 -03:00
Carlos Alexandro Becker
ba847a1661
docs: go 1.11+ 2019-02-26 17:17:30 -03:00
Wojtek Cichoń
3d26e977e8 docs(ci): Updating the link to Semaphore docs (#966)
Updating the link to Semaphore documentation on handling secrets.
2019-02-25 10:46:01 -03:00
Carlos Alexandro Becker
bcbef63023
docs: added rust article
closes #962
2019-02-21 17:26:58 -03:00
Carlos Alexandro Becker
d2fa6d5821
feat: support gzip format (#959)
* feat: support gzip format

* fix: wrong .gz detection

* docs: gz + multiple build
2019-02-07 12:12:20 -02:00
Alice
dd692bdf7d docs: Make a few things clearer in quickstart docs (#954) 2019-02-06 15:14:38 -02:00
Carlos Alexandro Becker
7c5da36f27
docs: fix archive.format docs 2019-02-05 09:48:21 -02:00
Carlos Alexandro Becker
7e79db1cc2
feat: support different checksum algorithms (#951)
* feat: support different checksum algorithms

* feat: added more algorithms

Co-Authored-By: caarlos0 <caarlos0@users.noreply.github.com>

* fix: build
2019-02-04 17:27:51 -02:00
Carlos Alexandro Becker
457041ff3d
docs: build.name is not templateable 2019-02-04 09:42:25 -02:00
Sven Nebel
84fb7e4a08 docs: Fix typo (#947) 2019-02-01 10:59:34 -02:00
Andrew Hamilton
f7bfac8e6f feat: ability to skip Homebrew Tap update for preleases (#943)
- Updates Homebrew config to make "SkipUpload" a string so that it can
  contain more than true or false values. New available options are
  "true", "false" and "auto".
- Adds a new check in Homebrew publish to see if it should skip due to a
  prerelease and "SkipUpload" set to auto.
- Adds a new test to make sure that tap publishing is skipped when set
  to "auto" and a prerelease semver is provided.
- Updates documents to add information about the new "auto" option for
  "SkipUpload".
2019-01-30 09:28:05 -02:00
Carlos Alexandro Becker
2e3a007161
docs: actions: what doesnt work 2019-01-25 21:47:17 -02:00
Carlos Alexandro Becker
8096fac74d
docs: actions is-tag filter 2019-01-25 14:11:08 -02:00
Carlos Alexandro Becker
33d6d6b3a8
docs: s3 bucket name 2019-01-24 16:17:39 -02:00
Carlos Alexandro Becker
b83fdd82ac
feat: github actions support (#939)
* feat: github actions support

* docs: actions doc
2019-01-24 16:10:14 -02:00
Michael
0aa80eca02 feat: allow use template for s3 bucket 2019-01-21 22:48:42 -02:00
Carlos Alexandro Becker
b642320aeb
docs: release notes 2019-01-19 19:00:43 -02:00
Carlos Alexandro Becker
feb33c569c
docs: skip changelog 2019-01-19 18:35:00 -02:00
Carlos Alexandro Becker
ae37eba4d9 docs: deprecations page improvements 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
d0bc5954da docs: deprecations page improvements 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
b62d86f31b docs: skip tls verify 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
59f10ad083 clean: removed deprecated git.short_hash option 2019-01-19 18:14:32 -02:00
Carlos Alexandro Becker
c22b3677ef docs: name templates 2019-01-17 22:47:14 -02:00
Carlos Alexandro Becker
7d7951a223
feat: template on flags (#923) 2019-01-17 10:50:00 -02:00
Carlos Alexandro Becker
cdfaae9b28
feat: support multiple binaries on docker (#919)
* feat: support multiple binaries on docker

* test: docker: fixed to use binaries

* refactor: several docker pipe improvements

* fix: tag templates

* test: fix defaults test

* fix: breaking: remove .Binary, .Os, .Arch support from docker image_templates

* fix: lint issues
2019-01-11 16:27:39 -02:00
Carlos Alexandro Becker
8694af596c
docs: fix typos on release docs 2019-01-10 16:06:01 -02:00
Márk Sági-Kazár
bf8f86e54e docs: Replace deprecated .Commit var with .ShortCommit (#913) 2019-01-07 08:44:49 -02:00
Federico G. Schwindt
d10c4f4f07 feat: add custom_block to brew formula generation (#906)
This allows authors to specify things such as devel, head and more.
See
https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md#advanced-formula-tricks
for details.
2018-12-30 00:06:54 -02:00
Carlos Alexandro Becker
bf68277b50 fix: improvements on docker extra_files 2018-12-16 12:34:21 -02:00
Carlos Alexandro Becker
c8354d5ac9 docs: snapshots
closes #740
2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
14e93c6390 fix: breaking: changed snapshot default name tmpl 2018-12-13 12:11:12 -02:00
Eelco
2f6cb9d719 feat: Allows pushing to private registry (#893)
using the goreleaser docker container
2018-12-10 13:45:01 -02:00
Pierre Boissinot
022c579d74 docs(ci): change snapcraft package with snapd (#889) 2018-12-02 16:57:38 -02:00
Felix Gläske
71abba61c3 feat: set github as pre-release if tag has a pre-release indicator (#871)
* Add check if tag contains indicator for pre release

* update release.md docs
2018-11-29 16:42:14 -02:00
fifi
e794eaf67f feat: add custom_require to brew formula generation
Due to the linked changes in homebrew deprecating "unused" download
strategies and the suggested workaround of adding a custom
"require_relative" I have added the ability to specify a ruby filename
in the brew specification

My use case is to continue using the GitHubPrivateRepositoryDownloadStrategy
without a deprecation warnings on every brew install.

brew deprecation:
599ecc9b5a (diff-ad9201cdd3b6f948345629ad812cd5bd)

suggested workaround:
https://github.com/Homebrew/brew/issues/5074#issuecomment-429274286
2018-11-23 10:26:06 -02:00
Carlos Alexandro Becker
1f6766d35e
docs: improved installation instructions
closes #877
2018-11-22 17:01:25 -02:00
Carlos Alexandro Becker
3fe09b20cf docs: custom wrap in directory 2018-11-14 09:50:18 -02:00
Carlos Alexandro Becker
18b8be6818 feat: support custom wrap directory
closes #728
2018-11-14 09:50:18 -02:00
Lukasz Rohde
cafe168d23 docs: Adding Semaphore CI to GoReleaser documentation (#860)
* include Semaphore in CI sections

* Changed SemaphoreCI to Semaphore (#1)

* Update ci.md

* Update ci.md

* Update ci.md

* Corrected typos (#3)

* Corrected typos (#2)
2018-10-31 13:06:30 -03:00
Carlos Alexandro Becker
0ec1215d02 revert: removing favicon et al 2018-10-31 00:15:40 -03:00
Carlos Alexandro Becker
e456a3fef6 clean: depgraph doesnt work anymore 2018-10-31 00:15:40 -03:00
Carlos Alexandro Becker
570bd65dbd docs: improved contributing and added tutorials 2018-10-31 00:15:40 -03:00
Carlos Alexandro Becker
9872425a09 clean: removed commited artifacts 2018-10-31 00:15:40 -03:00
Carlos Alexandro Becker
3218dddb61 docs: always re-generate favicons et al 2018-10-31 00:15:40 -03:00
Carlos Alexandro Becker
2f940d09c7
docs: suggest snap install goreleaser 2018-10-20 17:55:50 -03:00
Carlos Alexandro Becker
516c01050c docs: snapcraft publish 2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
94183d4f49 docs: how to push snap packages 2018-10-20 17:25:18 -03:00
Albert Salim
8cd15a3404 doc: Update doc for image templates
Updated docker documentation to use `image_templates`.
Added documentation on publishing to multiple registries
using `image_templates`
Added deprecation notices on `docker.image` and `docker.tag_templates`
2018-10-20 13:15:15 -03:00
Albert Salim
ca2aafa367 feat: Add support for publishing to additional docker registries
Created a list of registries based on the docker image name and
additional registries. Image is then tagged with all permutations
of registry and tags.

See #832
2018-10-20 13:15:15 -03:00
Carlos Alexandro Becker
db70569c3d
docs: dry run
closes #839
2018-10-17 00:41:40 -03:00
Carlos Alexandro Becker
441e5e551f
docs: docker: improved notes about templates 2018-10-12 00:08:39 -03:00
Alan Scherger
f6a7fb308c feat: image names can ontain template variables
This now allows us to use things like the ProjectName as variables
in our docker image name. This is especially helpful when trying to
make the `.goreleaser.yml` as generic as possible.
2018-10-05 13:43:19 -03:00
Carlos Alexandro Becker
f99940ff53
docs: removed docs about deprecated option 2018-10-04 23:42:25 -03:00
Carlos Alexandro Becker
748d97ef22 feat: git remote url in the template engine 2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
e08cc50030 docs: improve docs on go modules usage 2018-10-04 22:36:02 -03:00
Carlos Alexandro Becker
60b0bc2416 fix: add deprecation notice 2018-10-04 09:23:06 -03:00
Carlos Alexandro Becker
af99acf244 feat: add new template fields 2018-10-04 09:23:06 -03:00
Albert Salim
5c504024b1 docs: Add documentation for docker build_flag_templates
See #813
2018-10-03 10:51:01 -03:00
Stuart Jansen
282fd74450 fix customization link (#818)
Repro:
 - Open https://goreleaser.com/ in Chrome or Firefox
 - Click on "customize" in the second paragraph
Expected:
 - The page jumps to "Customization"
Actual:
 - No change because no matchin `name` or `id` is found
2018-10-03 08:46:06 -03:00
ncabatoff
9c1a37e00a docs: Add instructions for using with Google CloudBuild. (#780)
* Add instructions for using with Google CloudBuild.

* Clarify tag issues.
2018-10-02 11:14:40 -03:00
Igor German
9541ed6fef fix: typo (#815) 2018-10-02 09:09:36 -03:00
Carlos Alexandro Becker
652645b3bf
feat: artifactory checksum header (#772)
* feat: artifactory checksum header

* fix: merge fixes
2018-10-01 16:52:16 -03:00
Carlos Alexandro Becker
08e0830979
docs: improve flags example
closes #810
2018-09-20 17:44:25 -03:00
Ricardo N Feliciano
065bab60a4 docs: Removed EOL'd CircleCI 1.0 instructions. 2018-09-17 11:34:56 -03:00
Carlos Alexandro Becker
ac3dabbe4c
Merge branch 'master' into organizing 2018-09-13 21:38:09 -03:00
Pablo Lalloni
4728741b29 fix: move certificates setting to pipelines 2018-09-13 20:47:29 -03:00
Pablo Lalloni
c6a3686070 feat: trusted_certificates documentation 2018-09-13 20:47:29 -03:00
Carlos Alexandro Becker
b3ac89e091
docs: improve deps graph 2018-09-13 08:30:10 -03:00
Carlos Alexandro Becker
39de856eb4
refactor: better package organization 2018-09-12 14:18:01 -03:00
Carlos Alexandro Becker
e9cc0c9780
docs: package graph as svg 2018-09-12 13:37:29 -03:00
Carlos Alexandro Becker
bd5b15dc6b
docs: package graph 2018-09-12 13:34:26 -03:00
Jaskaranbir
932d2a663e docs: Fix misplaced 'sort' for release 2018-09-11 13:52:52 -03:00
Carlos Alexandro Becker
145ca3ec58
docs: cgo
refs #708
refs #792
refs #795
2018-09-10 19:29:11 -03:00
Baruch Sadogursky
1f54b26366 docs: bintray upload instructions (#791) 2018-09-10 09:10:50 -03:00
Mikhail Grachev
e08a473b8d feat: add hash to scoop manifest 2018-09-10 09:10:10 -03:00
Carlos Alexandro Becker
59a56ce8c9
docs: improved build docs 2018-09-05 10:38:33 -03:00
Igor German
99a9da4c3b feat: docker in docker support (#785)
* feat: docker in docker support

* fix: pr comments
2018-09-04 09:19:01 -03:00
Nicholas Duffy
e6f24ee5f5 docs: Fix environment spelling typo (#786) 2018-09-03 09:23:37 -03:00
Krzysztof Grodzicki
661f56ac15 docs: update s3.md
Added doc for EnvProvider, SharedCredentialsProvider and
AssumeRoleTokenProvider with enabled SharedConfigState.

#754
2018-08-25 17:33:56 -03:00
Pablo Lalloni
991a1195ff feat: Allow to get http username from env (#777) 2018-08-25 17:26:06 -03:00
Grachev Mikhail
da882e87fc feat: Add persist definition to scoop manifest (#776) 2018-08-25 17:24:42 -03:00
Carlos Alexandro Becker
02b70e1e9b
fix: better dockerfile (#770) 2018-08-20 23:51:37 -03:00
Grachev Mikhail
134e08cc67 feat: Add url template to scoop pipeline (#768) 2018-08-20 22:06:55 -03:00
Carlos Alexandro Becker
dba643c19f
docs: deprecations 2018-08-15 10:51:47 -03:00
Carlos Alexandro Becker
a04724d6b8
clean: removed deprecated docker options (#759)
* clean: remove fpm completely

* clean: remove docker tag_template and latest
2018-08-15 10:49:28 -03:00
Carlos Alexandro Becker
f0b7608f4d
clean: remove fpm completely (#758) 2018-08-15 09:56:49 -03:00
Grachev Mikhail
a91c8fd185 feat: Add default command for snapcraft (#749) 2018-08-15 09:38:42 -03:00
Carlos Alexandro Becker
815ffc2a83
docs: clarify hooks
closes #741
2018-08-15 00:28:16 -03:00
Carlos Alexandro Becker
f4d0a61fdc
docs: semver
closes #750
2018-08-15 00:28:16 -03:00
Tynan
38e5d3239e docs: Correct CircleCI Example. (#751) 2018-08-09 09:08:28 -03:00
Grachev Mikhail
89425e8fdc fix: typo (#745) 2018-08-02 09:21:45 -03:00
Albert Salim
f2878d3b82 docs: Update doc for CircleCI 2.0 (#739)
Support for CircleCI 1.0 will end on August 31, 2018.
I have updated the docs with examples for CircleCI 2.0.
See #350.
2018-08-01 09:44:05 -03:00
Carlos Alexandro Becker
ba62d25bdd
chore: fmt 2018-07-26 10:04:25 -03:00
Grachev Mikhail
36bb63f86b feat: add url_template in brew section (#735) 2018-07-26 10:03:28 -03:00
Grachev Mikhail
e77f666cd9 feat: add acl option for s3 (#732) 2018-07-21 19:07:20 -03:00
Carlos Alexandro Becker
abd30ccfa1
docs: improve quick start
closes #730
2018-07-21 10:33:59 -03:00
Carlos Alexandro Becker
a0c1e3d034
docs: improve archive docs 2018-07-21 10:21:13 -03:00
Carlos Alexandro Becker
b96aa1b0b1
docs: update archive folder example
closes #719
2018-07-19 20:32:28 -03:00
Carlos Alexandro Becker
717e82dbec
docs: lint 2018-07-11 10:03:20 -07:00
Carlos Alexandro Becker
01974b925a
docs: small rewording 2018-07-11 09:49:24 -07:00
Gustavo Chaín
dc74293ed4 docs: Update ci.md
Add drone instructions.
2018-07-11 12:30:59 +02:00
Carlos Alexandro Becker
495126ffd9
chore: format and lint fixes 2018-07-09 00:01:06 -07:00
Carlos Alexandro Becker
8d444233d0
docs: name templates 2018-07-08 23:57:46 -07:00
Carlos Alexandro Becker
6a06f76c49
docs: enable git info 2018-06-25 14:51:10 -03:00
Carlos Alexandro Becker
bfd8d45cc7
docs: split linux-packages.md into nfpm.md and snapcraft.md 2018-06-25 10:06:08 -03:00
Carlos Alexandro Becker
0c67099381 feat: add args to snapcraft commands 2018-06-25 10:01:48 -03:00
Pablo Lalloni
9aa66e635b docs: add checksum & signature upload config 2018-06-25 10:01:31 -03:00
Pablo Lalloni
0836c5a787 docs: add put customization document 2018-06-25 10:01:31 -03:00
Carlos Alexandro Becker
90656f8550 fix: breaking: remove the build dependencies from the brew pipe
as for now, it just doesnt work, and maybe it doesnt make sense
to have it anyway
2018-06-22 15:17:35 -03:00
Carlos Alexandro Becker
f96315cf3f
docs: site update 2018-06-20 00:16:04 -03:00
Carlos Alexandro Becker
d2e880cb2c
feat: allow environment variables in release name_template
closes #691
2018-06-06 21:39:41 -03:00
Carlos Alexandro Becker
a5bb81b7d1
docs: improve docker docs
closes #694
2018-06-06 10:44:52 -03:00
Carlos Alexandro Becker
4181d4e04f
docs: fix install with go get
closes #692
2018-06-05 14:11:01 -03:00
Carlos Alexandro Becker
532bf4e0a3
docs: prettier changed lists from * to -
Thanks obama
2018-05-28 10:49:38 -03:00
Carlos Alexandro Becker
b5c789ec89 docs: nfpm: managed empty folders 2018-05-16 22:08:49 -03:00
Eli Young
5252f74ade feat: Convert flag fields into lists
This allows users to specify different sets of compiler, assembler,
and/or linker flags for different packages. It also makes it possible to
specify generic flags that contain spaces. It does this while
maintaining compatibility with the old format of the fields in question
by up-converting bare strings into single-element lists.

Resolves #668
2018-05-15 08:12:11 -03:00
Carlos Alexandro Becker
e079dca3ed docs: improve docs 2018-05-14 10:30:49 -03:00
Carlos Alexandro Becker
0b25773b77 feat: support profiles on aws s3 2018-05-13 17:02:29 -03:00
Carlos Alexandro Becker
56d87ae699 docs: pushing to s3 2018-05-13 17:02:29 -03:00
Carlos Alexandro Becker
0cdf994fb1
docs: improved github enterprise docs
closes #472
2018-05-08 20:43:40 -03:00
Carlos Alexandro Becker
f06bab0ef9
chore: docs formatting 2018-05-06 09:19:14 -03:00
Andy Grunwald
ac206f8442 docs: Add main.commit and main.date to environment section
In the default golang builders ldflags three flags are set:
main.version, main.commit and main.date.
See https://github.com/goreleaser/goreleaser/blob/master/internal/builders/golang/build.go#L48

In the environment docs, only the main.version is mentioned.
goreleaser itself uses main.date and main.commit also.
2018-05-06 09:17:08 -03:00
Carlos Alexandro Becker
c4adf0e050 fix: gitignore 2018-05-01 20:32:46 -07:00
Carlos Alexandro Becker
dc90c28c56 docs: bump site theme 2018-05-01 20:32:46 -07:00
Carlos Alexandro Becker
c295e4b76b docs: fixed google analytics code 2018-05-01 20:32:46 -07:00
Carlos Alexandro Becker
b2be10fb13 docs: fix format 2018-05-01 20:32:46 -07:00
Carlos Alexandro Becker
13685f0234 docs: starting to re-work the docs site 2018-05-01 20:32:46 -07:00