Skip to content

Commit

Permalink
comment out cgo build
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows committed Nov 26, 2023
1 parent 52a6021 commit edecc10
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ builds:
goarch: [amd64, arm64]
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
- env:
- CGO_ENABLED=1
id: warp-cgo
main: ./cmd/warp
goos: [linux]
goarch: [amd64]
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
# - env:
# - CGO_ENABLED=1
# id: warp-cgo
# main: ./cmd/warp
# goos: [linux]
# goarch: [amd64]
# ldflags:
# - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser

archives:
- id: warp
Expand All @@ -36,19 +36,19 @@ archives:
format_overrides:
- goos: windows
format: zip
- id: warp-cgo
builds: [warp-cgo]
format: tar.gz
name_template: >-
{{ .ProjectName }}_cgo_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
# - id: warp-cgo
# builds: [warp-cgo]
# format: tar.gz
# name_template: >-
# {{ .ProjectName }}_cgo_
# {{- .Os }}_
# {{- if eq .Arch "amd64" }}x86_64
# {{- else if eq .Arch "386" }}i386
# {{- else }}{{ .Arch }}{{ end }}
# {{- if .Arm }}v{{ .Arm }}{{ end }}
# format_overrides:
# - goos: windows
# format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit edecc10

Please sign in to comment.