Skip to content

Commit

Permalink
fix: release
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 15, 2024
1 parent f33bfe1 commit abdd4c3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2
project_name: noctx

builds:
- binary: noctx

main: ./cmd/noctx/main.go
env:
- CGO_ENABLED=0
flags:
- -trimpath
goos:
- windows
- darwin
- linux
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7
- 6
- 5
ignore:
- goos: darwin
goarch: 386

archives:
- id: noctx
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE

0 comments on commit abdd4c3

Please sign in to comment.