This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
-
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.
initial implementation of goreleaser
- Loading branch information
Caleb Hailey
committed
Aug 12, 2019
1 parent
20b8dfb
commit 4d8b5f6
Showing
3 changed files
with
50 additions
and
0 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 |
---|---|---|
@@ -1 +1,3 @@ | ||
/dist | ||
sensu-go-metric-tag-enrichment | ||
metric-tag-enrichment |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
builds: | ||
# List of builds | ||
- # First Build | ||
env: | ||
- CGO_ENABLED=0 | ||
main: main.go | ||
# Set the binary output location to bin/ so archive will comply with Sensu Go Asset structure | ||
binary: bin/{{ .ProjectName }} | ||
goos: | ||
- darwin | ||
- freebsd | ||
- linux | ||
- netbsd | ||
- solaris | ||
- windows | ||
goarch: | ||
- amd64 | ||
- 386 | ||
- arm | ||
- arm64 | ||
goarm: | ||
- 5 | ||
- 6 | ||
- 7 | ||
ignore: | ||
# TODO: add freebsd/arm support to gopsutil | ||
- goos: freebsd | ||
goarch: arm | ||
|
||
checksum: | ||
# You can change the name of the checksums file. | ||
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`. | ||
name_template: "{{ .ProjectName }}_{{ .Version }}_sha256-checksums.txt" | ||
|
||
archives: | ||
- format: tar.gz | ||
files: | ||
- LICENSE | ||
- README.md | ||
|
||
# You can change the name of the GitHub release. | ||
# This is parsed with the Go template engine and the following variables | ||
# are available: | ||
# - ProjectName | ||
# - Tag | ||
# - Version (Git tag without `v` prefix) | ||
# Default is `` | ||
#name_template: "{{.ProjectName}}-v{{.Version}}" |
File renamed without changes.