Skip to content

Commit

Permalink
Goreleaser: adopt Makefile's flow to goreleaser.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesovsky committed Dec 19, 2020
1 parent 7122d3d commit 380898e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .goreleaser.yml
@@ -1,15 +1,26 @@
builds:
- binary: noisia
goarch: [amd64]
main: ./cmd/main.go
goarch:
- amd64
goos:
- linux
env:
- CGO_ENABLED=0
ldflags:
- -a -installsuffix cgo
- -X main.appName=noisia -X main.gitTag={{.Tag}} -X main.gitCommit={{.Commit}} -X main.gitBranch={{.Branch}}

archives:
- builds: [noisia]

changelog:
sort: asc

nfpms:
- vendor: noisia
homepage: https://github.com/lesovsky/noisia
maintainer: Alexey Lesovsky
description: Harmful workload generator for PostgreSQL
formats: [deb]
license: BSD-3
formats: [ deb, rpm ]

0 comments on commit 380898e

Please sign in to comment.