From de872acfc60a2ab50c99ffe7e7b611b99846de2f Mon Sep 17 00:00:00 2001 From: iawia002 Date: Fri, 29 May 2020 20:50:00 +0800 Subject: [PATCH] 0.10.0 [ci skip] --- .goreleaser.yml | 12 ++++++++++-- config/version.go | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1fd5fe9de..fd454113c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,10 +1,16 @@ project_name: annie env: - GO111MODULE=on +before: + hooks: + - go mod download builds: - env: - CGO_ENABLED=0 binary: annie + # Disable ldflags: https://github.com/goreleaser/goreleaser/issues/1255 + ldflags: + - "-X 'main.aa=aa'" goos: - windows - darwin @@ -21,6 +27,8 @@ builds: - goos: freebsd goarch: arm goarm: 6 + - goos: freebsd + goarch: arm64 - goos: openbsd goarch: arm goarm: 6 @@ -38,8 +46,8 @@ changelog: - '^tests' - Merge pull request - Merge branch -archive: - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}_v{{ .Arm }}{{ end }}' +archives: +- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}_v{{ .Arm }}{{ end }}' format: tar.gz format_overrides: - goos: windows diff --git a/config/version.go b/config/version.go index bebc8e9bb..3b181483b 100644 --- a/config/version.go +++ b/config/version.go @@ -1,4 +1,4 @@ package config // VERSION version of annie -const VERSION = "0.9.8" +const VERSION = "0.10.0"