mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
docs: improve go first class ports docs
This commit is contained in:
parent
f6eb51cb9c
commit
5d75dec810
@ -120,10 +120,11 @@ builds:
|
|||||||
# applicable: `_{goarm}`, `_{goamd64}`, `_{gomips}`.
|
# applicable: `_{goarm}`, `_{goamd64}`, `_{gomips}`.
|
||||||
#
|
#
|
||||||
# Special values:
|
# Special values:
|
||||||
# - go_118_first_class: evaluates to the first-class targets of go1.18.
|
# - go_118_first_class: evaluates to the first-class ports of go1.18.
|
||||||
|
# Since GoReleaser v1.9.
|
||||||
|
# - go_first_class: evaluates to latest stable go first-class ports,
|
||||||
|
# currently same as 1.18.
|
||||||
# Since GoReleaser v1.9.
|
# Since GoReleaser v1.9.
|
||||||
# - go_first_class: evaluates to latest stable go first-class targets,
|
|
||||||
# currently same as 1.18. Since GoReleaser v1.9.
|
|
||||||
#
|
#
|
||||||
# This overrides `goos`, `goarch`, `goarm`, `gomips`, `goamd64` and
|
# This overrides `goos`, `goarch`, `goarm`, `gomips`, `goamd64` and
|
||||||
# `ignores`.
|
# `ignores`.
|
||||||
@ -509,3 +510,10 @@ Since you can have GoReleaser build for multiple different `GOAMD64` targets, it
|
|||||||
adds that suffix to prevent name conflicts. The same thing happens for `arm` and
|
adds that suffix to prevent name conflicts. The same thing happens for `arm` and
|
||||||
`GOARM`, `mips` and `GOMIPS` and others.
|
`GOARM`, `mips` and `GOMIPS` and others.
|
||||||
|
|
||||||
|
### Go's first class ports
|
||||||
|
|
||||||
|
The `targets` option can take a `go_first_class` special value as target, which
|
||||||
|
will evaluate to the list of first class ports as defined in the Go wiki.
|
||||||
|
|
||||||
|
You can read more about it
|
||||||
|
[here](https://github.com/golang/go/wiki/PortingPolicy#first-class-ports).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user