1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-18 03:56:52 +02:00

fix(build): buildmode: pie (#4631)

closes #4629
This commit is contained in:
Carlos Alexandro Becker 2024-02-13 12:41:18 -03:00 committed by GitHub
parent 1e8aac0f9d
commit 554ca5f3e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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"`

View File

@ -63,6 +63,7 @@ builds:
# Valid options:
# - `c-shared`
# - `c-archive`
# - `pie`
#
# Since: v1.13
buildmode: c-shared