-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixing archive name issues in goreleaser (#17)
- Loading branch information
Showing
1 changed file
with
18 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
|
||
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: [email protected] | ||
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: | ||
|