mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
eb823dee14
This brings the scoops feature a bit more closer to similar pipes, like brew and krew. - It now supports multiple scoops - It improves some validations to prevent wrong manifests - It uses extra.binaries instead of extra.builds, as brew does too - extra.builds is now unused, will be removed in a subsequent PR - More tests were added as well closes #3941 --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
51 lines
1.0 KiB
Markdown
51 lines
1.0 KiB
Markdown
# Scoop requires single a windows archive
|
|
|
|
The Scoop pipe requires a Windows build and archive.
|
|
|
|
Usually, if you see this error, one of these 2 things probably happened:
|
|
|
|
## 1. Using binary archive format
|
|
|
|
The archive should not be in `binary` format.
|
|
|
|
For instance, this won't work:
|
|
|
|
```yaml
|
|
archives:
|
|
- format: binary
|
|
```
|
|
|
|
|
|
But this would:
|
|
|
|
```yaml
|
|
archives:
|
|
- format: zip
|
|
```
|
|
|
|
## 2. Multiple archives for the same GOOS/GOARCH
|
|
|
|
If you build multiple binaries and ship them in multiple archives, for example,
|
|
one for the _client_ and another one for the _server_ of a given project, you
|
|
will need to have multiple `scoops` in your configuration as well.
|
|
|
|
Scoops only allow to install a single archive per manifest, so we need to do
|
|
something like this:
|
|
|
|
```yaml
|
|
scoops:
|
|
- ids: [ client ]
|
|
name: foo
|
|
# ...
|
|
- ids: [ server ]
|
|
name: food
|
|
# ...
|
|
```
|
|
|
|
## Footnotes
|
|
|
|
Also notice the `goamd64` options, it must match the one from your build.
|
|
By default, only `GOAMD64` `v1` is built.
|
|
|
|
Please refer to the [documentation](/customization/scoop) for more details.
|