mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-18 03:56:52 +02:00
parent
1e8aac0f9d
commit
554ca5f3e0
@ -536,7 +536,7 @@ type BuildDetailsOverride struct {
|
||||
}
|
||||
|
||||
type BuildDetails struct {
|
||||
Buildmode string `yaml:"buildmode,omitempty" json:"buildmode,omitempty" jsonschema:"enum=c-archive,enum=c-shared,enum=,default="`
|
||||
Buildmode string `yaml:"buildmode,omitempty" json:"buildmode,omitempty" jsonschema:"enum=c-archive,enum=c-shared,enum=pie,enum=,default="`
|
||||
Ldflags StringArray `yaml:"ldflags,omitempty" json:"ldflags,omitempty"`
|
||||
Tags FlagArray `yaml:"tags,omitempty" json:"tags,omitempty"`
|
||||
Flags FlagArray `yaml:"flags,omitempty" json:"flags,omitempty"`
|
||||
|
@ -63,6 +63,7 @@ builds:
|
||||
# Valid options:
|
||||
# - `c-shared`
|
||||
# - `c-archive`
|
||||
# - `pie`
|
||||
#
|
||||
# Since: v1.13
|
||||
buildmode: c-shared
|
||||
|
Loading…
x
Reference in New Issue
Block a user