Skip to content

Commit

Permalink
Add arm64 release setting and other fixes to goreleaser (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
ak1ra24 committed Jan 17, 2024
1 parent 777023b commit 0868c4b
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
project_name: tinet
env:
- GO111MODULE=on
version: 1
before:
hooks:
- go mod tidy
builds:
- main: .
binary: tinet
- env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X main.Version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_v{{ .Version }}'
replacements:
linux: linux
amd64: x86_64
files:
- none*
release:
prerelease: auto
- format: binary
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
changelog:
sort: asc
use: github-native

0 comments on commit 0868c4b

Please sign in to comment.