diff --git a/.goreleaser.yml b/.goreleaser.yml index 7826d67..25a93cd 100644 --- a/.goreleaser.yml +++ b/.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] \ No newline at end of file + license: BSD-3 + formats: [ deb, rpm ] \ No newline at end of file