diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 269d6d9..6829f2a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -12,8 +12,6 @@ before: hooks: # You may remove this if you don't use go modules. - go mod tidy - # you may remove this if you don't need go generate - - go generate ./... builds: - binary: treblle @@ -26,6 +24,7 @@ builds: - linux - darwin - windows + - freebsd goarm: - 6 - 7 @@ -36,9 +35,6 @@ builds: release: prerelease: auto -universal_binaries: - - replace: true - brews: - name: treblle @@ -50,53 +46,6 @@ brews: name: Steve McDougall email: steve@treblle.com -checksum: - name_template: 'checksums.txt' - -archives: - - format: tar.gz - # this name template makes the OS and Arch compatible with the results of `uname`. - name_template: >- - {{ .ProjectName }}_ - {{- title .Os }}_ - {{ .Tag }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} - - # use zip for windows archives - format_overrides: - - goos: windows - format: zip - -winget: - - name: treblle - publisher: Treblle - short_description: "API Insights scores your API using over 30 tests taken from standards and industry best practices across three categories; Performance, Quality, & Security" - license: "MIT" - publisher_url: https://goreleaser.com - publisher_support_url: "https://github.com/treblle/treblle-cli/issues/new" - package_identifier: treblle.cli - goamd64: v1 - url_template: "https://github.com/treblle/treblle-cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}" - commit_author: - name: goreleaserbot - email: bot@goreleaser.com - commit_msg_template: "{{ .PackageIdentifier }}: {{ .Tag }}" - path: manifests/t/treblle/cli/{{ .Tag }} - homepage: "https://www.treblle.com/" - description: "API Insights scores your API using over 30 tests taken from standards and industry best practices across three categories; Performance, Quality, & Security" - copyright: "Treblle" - release_notes: "{{.Changelog}}" - tags: - - api - - api-insights - - api-testing - - api-performance - - api-security - - api-quality - chocolateys: - name: treblle title: Treblle CLI @@ -122,6 +71,23 @@ chocolateys: api_key: "{{ secrets.CHOCOLATEY_API_KEY }}" source_repo: "https://push.chocolatey.org/" +checksum: + name_template: 'checksums.txt' + +archives: + - format: tar.gz + # this name template makes the OS and Arch compatible with the results of `uname`. + name_template: >- + {{ .ProjectName }}_{{ title .Os }}_{{ .Version }}_{{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}_v{{ .Arm }}{{ end }} + + # use zip for windows archives + format_overrides: + - goos: windows + format: zip + changelog: sort: asc filters: