1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/www/docs/customization
Carlos Alexandro Becker 30630bfc7f
feat: add builds.no_main_check and builds.command (#3064)
* feat: add builds.no_main_check and builds.command

Added two more options to the builds section:
- command: allow to override the command being run. E.g. instead of
  `go build`, one could run `go test -c` by setting gobinary, command
  and flags, respectively.
- no_main_check: by default, goreleaser will fail if there's no main
  function. This option allows to disable that check.

This PR effectively make GoReleaser able to release Go test binaries
instead of just "regular" binaries.

closes #3037

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

* test: fix broken tests

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-25 22:07:02 -03:00
..
announce feat(announce): added Slack notification options (#2988) 2022-03-30 09:42:59 -03:00
archive.md fix: goamd64 should allow the only range from v1 to v4 2022-04-13 21:30:08 -03:00
artifactory.md feat: allow to filter by ext on http upload pipe (#2992) 2022-03-19 17:44:34 -03:00
aur.md fix: goamd64 should allow the only range from v1 to v4 2022-04-13 21:30:08 -03:00
blob.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
build.md feat: add builds.no_main_check and builds.command (#3064) 2022-04-25 22:07:02 -03:00
changelog.md docs: improve docs for changelog skipping 2022-01-30 11:28:00 -03:00
checksum.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
dist.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
docker_manifest.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
docker_sign.md docs: fix typos (#3054) 2022-04-19 19:34:24 -03:00
docker.md feat: support GOAMD64 (#3016) 2022-04-11 22:43:22 -03:00
env.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
fury.md docs: fix typos (#3054) 2022-04-19 19:34:24 -03:00
gomod.md feat: set -mod on gomod pipe (#2983) 2022-03-17 08:53:39 -03:00
homebrew.md fix: goamd64 should allow the only range from v1 to v4 2022-04-13 21:30:08 -03:00
hooks.md feat: allow to output on hooks 2022-02-05 16:00:49 -03:00
includes.md docs: fix typos (#3054) 2022-04-19 19:34:24 -03:00
index.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
krew.md fix: goamd64 should allow the only range from v1 to v4 2022-04-13 21:30:08 -03:00
milestone.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
monorepo.md docs: remove beta wording 2022-02-17 10:10:51 -03:00
nfpm.md fix: goamd64 should allow the only range from v1 to v4 2022-04-13 21:30:08 -03:00
nightlies.md docs: nightlies 2022-04-14 14:57:13 -03:00
project.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
publishers.md feat: support extra_files in publishers (#2770) 2022-01-06 22:04:43 -03:00
release.md docs: clarify release.skip behavior 2022-04-19 09:06:12 -03:00
sbom.md feat: add sbom generation pipe (#2648) 2021-12-12 00:21:51 -03:00
scoop.md fix: goamd64 should allow the only range from v1 to v4 2022-04-13 21:30:08 -03:00
sign.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
snapcraft.md fix: goamd64 should allow the only range from v1 to v4 2022-04-13 21:30:08 -03:00
snapshots.md docs: fix typos (#3054) 2022-04-19 19:34:24 -03:00
source.md docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
templates.md docs: note goamd64 and nfpm conventional file names 2022-04-13 23:44:17 -03:00
universalbinaries.md feat: allow to use .Path and .Name on universal binary post hooks (#2891) 2022-02-08 11:44:47 -03:00
upload.md feat: allow to filter by ext on http upload pipe (#2992) 2022-03-19 17:44:34 -03:00