Skip to content

Commit

Permalink
chore: remove windows builds from goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
GImbrailo committed Oct 29, 2024
1 parent bfad602 commit a031f52
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,43 +198,43 @@ builds:
- '{{ if .IsSnapshot }}-cover{{ else }}-v{{ end }}'

# WINDOWS
- id: signatory-windows-amd
binary: signatory
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
- >-
{{- if .IsSnapshot }}GOEXPERIMENT=coverageredesign{{- end }}
main: ./cmd/signatory/main.go
ldflags:
- '-X github.com/ecadlabs/signatory/pkg/metrics.GitRevision={{.Version}}'
- '-X github.com/ecadlabs/signatory/pkg/metrics.GitBranch={{.Version}}'
goos:
- windows
goarch:
- amd64
flags:
- '{{ if .IsSnapshot }}-cover{{ else }}-v{{ end }}'
# - id: signatory-windows-amd
# binary: signatory
# env:
# - CGO_ENABLED=1
# - CC=x86_64-w64-mingw32-gcc
# - CXX=x86_64-w64-mingw32-g++
# - >-
# {{- if .IsSnapshot }}GOEXPERIMENT=coverageredesign{{- end }}
# main: ./cmd/signatory/main.go
# ldflags:
# - '-X github.com/ecadlabs/signatory/pkg/metrics.GitRevision={{.Version}}'
# - '-X github.com/ecadlabs/signatory/pkg/metrics.GitBranch={{.Version}}'
# goos:
# - windows
# goarch:
# - amd64
# flags:
# - '{{ if .IsSnapshot }}-cover{{ else }}-v{{ end }}'

- id: signatory-cli-windows-amd
binary: signatory-cli
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
- >-
{{- if .IsSnapshot }}GOEXPERIMENT=coverageredesign{{- end }}
main: ./cmd/signatory-cli/main.go
ldflags:
- '-X github.com/ecadlabs/signatory/pkg/metrics.GitRevision={{.Version}}'
- '-X github.com/ecadlabs/signatory/pkg/metrics.GitBranch={{.Version}}'
goos:
- windows
goarch:
- amd64
flags:
- '{{ if .IsSnapshot }}-cover{{ else }}-v{{ end }}'
# - id: signatory-cli-windows-amd
# binary: signatory-cli
# env:
# - CGO_ENABLED=1
# - CC=x86_64-w64-mingw32-gcc
# - CXX=x86_64-w64-mingw32-g++
# - >-
# {{- if .IsSnapshot }}GOEXPERIMENT=coverageredesign{{- end }}
# main: ./cmd/signatory-cli/main.go
# ldflags:
# - '-X github.com/ecadlabs/signatory/pkg/metrics.GitRevision={{.Version}}'
# - '-X github.com/ecadlabs/signatory/pkg/metrics.GitBranch={{.Version}}'
# goos:
# - windows
# goarch:
# - amd64
# flags:
# - '{{ if .IsSnapshot }}-cover{{ else }}-v{{ end }}'

dockers:
- ids:
Expand Down

0 comments on commit a031f52

Please sign in to comment.