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

768 Commits

Author SHA1 Message Date
Carlos A Becker
83704c9e4b
docs: better wording
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 15:11:29 -03:00
Carlos A Becker
22f73836ac
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 13:10:18 -03:00
Carlos A Becker
3697a9d8ce
docs: wording improvements
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 10:17:13 -03:00
actions-user
06324e2ed6 docs: update 2022-05-10 12:19:06 +00:00
Carlos Alexandro Becker
e38e76cac8
feat: meta archives (#3093)
adds support for creating meta archives

closes #3085

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 09:17:30 -03:00
Carlos A Becker
8ee53b6e1d
docs: update pro features
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-09 21:46:38 -03:00
Felix Börner
2297be1cf7
docs: add example for semantic-release (#3091) 2022-05-09 14:48:35 -03:00
actions-user
189ffcb1d8 docs: update 2022-05-09 12:34:08 +00:00
Batuhan Apaydın
a02cbca273
docs): add SBOM section, update Docker as container (#3090)
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2022-05-09 08:53:06 -03:00
Carlos Alexandro Becker
f812d1b920
fix: nfpm deprecation on nfpm check (#3087)
closes #3067

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-08 21:13:56 -03:00
Carlos Alexandro Becker
4cf566be44
docs: fix several htmltest issues (#3086)
* docs: fix several htmltest issues

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

* docs: more fixes

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-07 01:28:22 -03:00
Carlos A Becker
362491ce05
docs: link to example repo
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-04 10:47:25 -03:00
Carlos A Becker
a51fd7bd8f
docs: improve prebuilt docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-04 10:38:44 -03:00
Ishan Goel
f62283c8ab
docs: fix typo (#3081)
"you `main.go`" to "your `main.go`"
2022-05-03 09:48:55 -03:00
Carlos Alexandro Becker
ea7a696fab
feat: improve docker errors (#3080)
* feat: improve docker errors

Adding an error page with some more info to help debug issues.

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

* fix: forgot return

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

* fix: missing err

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-02 22:05:42 -03:00
Carlos A Becker
444218f51d
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-02 20:40:00 -03:00
Carlos A Becker
93dd387809
docs: goreleaser pro eula
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-02 20:30:19 -03:00
Carlos A Becker
2b2ad7c2a7
docs: wording
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-29 08:26:19 -03:00
Carlos Alexandro Becker
97db97df87
feat: new install anf run script (#3075)
* feat: new install anf run script

- move away from deprecated git.io
- support distribution
- verify checksums and signature

closes #3074

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

* fix: rename script

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-29 08:11:04 -03:00
Aram
a77ed9aafd
docs: fix example env var name on scoop docs (#3068) 2022-04-26 12:11:43 -03:00
Carlos Alexandro Becker
69cf1aa887
feat: first class build targets (#3062)
Adds the ability to tell goreleaser to use the first-class Go ports as
targets.

Closes #3053

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-25 22:07:28 -03:00
Carlos Alexandro Becker
5aeb8ace61
fix: prevent folder collisions in builds and universal binaries (#3063)
- on universal binaries, use the build id instead of the binary name to
  create the folder in the dist folder
- on builds, default the id the to the binary name instead of project
  name. The binary name already defaults to the project id if empty, so
  this should only prevent having to specify the id + binary name in
  some cases.

closes #3061

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-25 22:07:14 -03:00
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
Andreas Deininger
38bc6b504e
docs: fix typos (#3054) 2022-04-19 19:34:24 -03:00
Carlos A Becker
16f7e0d172
docs: clarify release.skip behavior
It skips the entire SCM release, not  only the artifact upload.

Closes #3051

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-19 09:06:12 -03:00
Carlos A Becker
a53afde02a
docs: update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-16 15:37:42 -03:00
Carlos A Becker
d513b708d0
docs: improve goamd64 docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-15 23:26:15 -03:00
Carlos A Becker
3e8b848e44
docs: nightlies
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-14 14:57:13 -03:00
Carlos A Becker
ed5e20ae0a
docs: organize menu a bit
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-14 14:23:59 -03:00
Carlos A Becker
d8a283ab87
docs: pluralize
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-14 14:23:09 -03:00
Carlos A Becker
e3a50e7b9d
docs: note goamd64 and nfpm conventional file names
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-13 23:44:17 -03:00
Carlos A Becker
53bbc6546f
fix: goamd64 should allow the only range from v1 to v4
It was just allowing v2 and v3 due to some misreading on my side.
This commit fixes it to allow v1, v2, v3 and v4.

refs #3016

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-13 21:30:08 -03:00
actions-user
11b4bf1bbc docs: update 2022-04-13 17:43:46 +00:00
Carlos A Becker
9fc502c18a
chore: update jsonschema 2022-04-12 01:09:20 -03:00
Carlos A Becker
9dfade2558
fix: nfpm default build ids to empty 2022-04-11 23:59:52 -03:00
Carlos Alexandro Becker
6c9a97f2af
docs: remove analytics (#3017)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-11 22:44:04 -03:00
Carlos Alexandro Becker
b0583c700b
feat: support GOAMD64 (#3016)
* feat: support GOAMD64

* fix: test

* wip

* wip: docker et al

* fix: archive format name

* test: added new test

* feat: nfpm amd4, mips et al

* chore: rm unused file

* fix: brew for multiple goamd64

* fix: krew

* feat: aur

* feat: krew

* docs: brew

* feat: gofis

* feat: scoop

* fix: docker filters

* fix: snapcraft

* fix: improve diff a bit

* fix: snapcraft name template
2022-04-11 22:43:22 -03:00
Carlos A Becker
e60965ecd3
docs: update actions doc 2022-04-11 09:35:03 -03:00
Carlos Alexandro Becker
3df29b67ab
feat: deprecate gofish (#2999)
* feat: deprecate gofish

gofish was deprecated by its authors, this deprecates it here too

refs https://github.com/goreleaser/goreleaser/discussions/2998

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

* fix: do not publish rig anymore

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

* docs: remove install

* chore: deprecate

* fix(gofish): fix broke logs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-02 10:41:05 -03:00
actions-user
78da3ea7d0 docs: update 2022-03-30 12:44:38 +00:00
fredbi
905a1640f1
feat(announce): added Slack notification options (#2988)
* feat(announce): added Slack notification options

This feature adds support for specifying a richer content in Slack
announcements. We may now specify "blocks" and "attachments" to produce
better-looking announcement messages.

* fixes #2986

The goreleaser configuration only exposes the top-level structures and does not
check the validity of the Slack API internal structures. This way, we do
not inject hard dependencies on changes in the Slack API.

Notice: untyped config parsing introduces a little hack to have yaml and
JSON marshaling work together properly. This hack won't be necessary
with yaml.v3.

How this has been tested?
-------------------------

* Added unit tests for the config parsing
* Added a (skipped) e2e test.
  For now, this requires a valid Slack webhook, so I've been able to test this manually.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

* added more unit tests

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

* removed yaml.v2 hack

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
2022-03-30 09:42:59 -03:00
Alex
1c47d88009
docs: fix typo in gitlab page (#3006)
Just a simple spelling fix
2022-03-27 22:15:24 -03:00
Carlos A Becker
7671dab291
chore: update schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-20 21:00:37 -03:00
Carlos A Becker
2e058ecd28
docs: gitlab project access token docs
closes #2738

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-19 17:50:36 -03:00
actions-user
3ae9a6e8a5 docs: update 2022-03-19 20:46:08 +00:00
Carlos Alexandro Becker
72f9c7a18f
feat: allow to filter by ext on http upload pipe (#2992)
The idea is to be able to filter by extension and send each extension to
a different place, if needed.

This also affects the artifactory pipe.

Also updated artifactory docs a bit.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-19 17:44:34 -03:00
Carlos A Becker
9a43e9ce33
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-19 16:09:49 -03:00
actions-user
261af2d355 docs: update 2022-03-17 11:55:25 +00:00
Carlos Alexandro Becker
08c9038c29
feat: set -mod on gomod pipe (#2983)
this allows to set the -mod flag on the command used to grab the module
root package, in case its needed to ignore the vendor folder, force
readonly, etc...

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-17 08:53:39 -03:00
Carlos Alexandro Becker
0a66b3dc85
feat: deprecate buildpacks (#2982) 2022-03-17 07:55:17 -03:00