From 20a90916ceebc2b897295b07575bc80e81207fb4 Mon Sep 17 00:00:00 2001 From: jjzcru Date: Sun, 14 Jun 2020 17:16:56 -0500 Subject: [PATCH] Add support for arm builds --- .goreleaser.yml | 23 ++++++++++++++++++++--- CHANGELOG.md | 5 +++++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index c4c0e4f..3758cd3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,28 +4,45 @@ before: - go mod download # you may remove this if you don't need go generate - go generate ./... + builds: - env: - CGO_ENABLED=0 + main: ./main.go + goos: - windows - linux - darwin + + goarch: + - amd64 + - arm + - arm64 + - 386 + + goarm: + - 6 + - 7 + ldflags: - -s -w -X main.version={{.Version}} -X main.os={{.Os}} -X main.arch={{.Arch}} -X main.commit={{.ShortCommit}} -X main.date={{.Env.DATE}} -X "main.goversion={{.Env.GOVERSION}}" archives: - replacements: - darwin: Darwin - linux: Linux - windows: Windows + darwin: darwin + linux: linux + windows: windows 386: i386 amd64: x86_64 + checksum: name_template: 'checksums.txt' + snapshot: name_template: "{{ .Tag }}-next" + changelog: sort: asc filters: diff --git a/CHANGELOG.md b/CHANGELOG.md index b6f7ed5..fe2fe3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [v0.3.1](https://github.com/jjzcru/hog/tree/v0.3.1) (2020-06-14) +[Release](https://github.com/jjzcru/hog/releases/tag/v0.3.1) +**Misc 👾:** +- Add support for `ARM` + ## [v0.3.0](https://github.com/jjzcru/hog/tree/v0.3.0) (2020-05-04) [Release](https://github.com/jjzcru/hog/releases/tag/v0.3.0)