Skip to content

Commit

Permalink
library goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
rekram1-node committed Jan 2, 2023
1 parent 3e8515e commit f4c7595
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,5 @@ before:
- go mod download
- go generate ./...

snapshot:
name_template: "{{ .Tag }}"

builds:
- skip: true
- id: "{{ .ProjectName }}"
binary: "{{ .ProjectName }}"
env:
- CGO_ENABLED=0
targets:
- darwin_amd64
- darwin_arm64
- linux_arm_5
- linux_arm_7
- linux_amd64
- linux_arm64
- windows_386
- windows_amd64

archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: MacOS
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- README.md
- LICENSE
- '*.txt'
allow_different_binary_count: true

universal_binaries:
- replace: true

0 comments on commit f4c7595

Please sign in to comment.