mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: clarify scoop no windows archive errors
closes #3648 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
d7ce4841c8
commit
d4b570a002
@ -21,8 +21,9 @@ import (
|
||||
"github.com/goreleaser/goreleaser/pkg/context"
|
||||
)
|
||||
|
||||
// ErrNoWindows when there is no build for windows (goos doesn't contain windows).
|
||||
var ErrNoWindows = errors.New("scoop requires a windows build and archive")
|
||||
// ErrNoWindows when there is no build for windows (goos doesn't contain
|
||||
// windows) or archive.format is binary.
|
||||
var ErrNoWindows = errors.New("scoop requires a windows archive\nLearn more at https://goreleaser.com/errors/scoop-archive\n")
|
||||
|
||||
const scoopConfigExtra = "ScoopConfig"
|
||||
|
||||
|
20
www/docs/errors/scoop-archive.md
Normal file
20
www/docs/errors/scoop-archive.md
Normal file
@ -0,0 +1,20 @@
|
||||
# Scoop requires a windows archive
|
||||
|
||||
The Scoop pipe requires a Windows build and archive.
|
||||
|
||||
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
|
||||
```
|
@ -155,6 +155,7 @@ nav:
|
||||
- errors/resource-not-accessible-by-integration.md
|
||||
- errors/no-history.md
|
||||
- errors/multiple-binaries-archive.md
|
||||
- errors/scoop-archive.md
|
||||
- deprecations.md
|
||||
- Cookbooks:
|
||||
- About: cookbooks/index.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user