Skip to content

Commit

Permalink
updated action
Browse files Browse the repository at this point in the history
  • Loading branch information
eze-kiel committed Apr 21, 2021
1 parent 9aa72e8 commit bcc8601
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
# builds:
# - env:
# - CGO_ENABLED=0
# goos:
# - linux
# - windows
# - darwin
# ldflags:
# - -s -w -X main.Version={{.Version}} -X main.BuildDate={{.CommitDate}}
# ignore:
# - goos: darwin
# goarch: 386

builds:
- main: ./cmd/slowql-digest/
id: "digest"
binary: digest
goos:
- linux
- darwin
- windows
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0

- main: ./cmd/slowql-replayer/
id: "replayer"
binary: replayer
goos:
- linux
- darwin
- windows
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0

archives:
- format: binary
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"

checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Tag }}-next"

changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

0 comments on commit bcc8601

Please sign in to comment.