Skip to content

Commit

Permalink
added goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Mercadal committed Jan 21, 2023
1 parent 28edf63 commit 89562ea
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
build:
skip: true
snapshot:
name_template: "{{ .Tag }}-next"
name_template: "v{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^examples:'
builds:
- id: rego
main: cmd/rego/main.go
binary: rego
goos:
- linux
- freebsd
- darwin
goarch:
- amd64
env:
- CGO_ENABLED=0

archives:
- id: rego
format: binary
builds:
- rego

signs:
- artifacts: checksum
args: ["-u", "0C3214A61024881F5CA1F5F056EDB08A11DCE325", "--output", "${signature}", "--detach-sign", "${artifact}"]

0 comments on commit 89562ea

Please sign in to comment.