-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Notoriously difficult to test, this updates our config file for goreleaser to be compatible with the new version.
- Loading branch information
1 parent
5881c0b
commit 44da1cc
Showing
1 changed file
with
26 additions
and
40 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,48 +1,34 @@ | ||
--- | ||
project_name: draupnir | ||
release: | ||
github: | ||
owner: gocardless | ||
name: draupnir | ||
name_template: '{{.Tag}}' | ||
brew: | ||
github: | ||
owner: gocardless | ||
name: homebrew-taps | ||
commit_author: | ||
name: GoCardless Engineering | ||
email: [email protected] | ||
install: bin.install "draupnir" | ||
description: Client for the draupnir database service | ||
folder: Formula | ||
test: system "draupnir-client help" | ||
|
||
builds: | ||
- | ||
main: cmd/draupnir/draupnir.go | ||
- main: cmd/draupnir/draupnir.go | ||
binary: draupnir | ||
goos: | ||
- linux | ||
- darwin | ||
ldflags: -s -w -X github.com/gocardless/draupnir/pkg/version.Version={{.Version}} -X main.commit={{.Commit}} | ||
archive: | ||
format: tar.gz | ||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' | ||
files: | ||
- README* | ||
- CHANGELOG* | ||
nfpm: | ||
maintainer: GoCardless Engineering <[email protected]> | ||
description: Databases on demand | ||
formats: [deb] | ||
bindir: /usr/local/bin | ||
files: | ||
"cmd/draupnir-create-instance": "/usr/local/bin/draupnir-create-instance" | ||
"cmd/draupnir-destroy-instance": "/usr/local/bin/draupnir-destroy-instance" | ||
"cmd/draupnir-finalise-image": "/usr/local/bin/draupnir-finalise-image" | ||
"cmd/draupnir-destroy-image": "/usr/local/bin/draupnir-destroy-image" | ||
"scripts/iptables": "/usr/lib/draupnir/bin/iptables" | ||
snapshot: | ||
name_template: SNAPSHOT-{{ .Commit }} | ||
checksum: | ||
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' | ||
dist: dist | ||
|
||
brews: | ||
- github: | ||
owner: gocardless | ||
name: homebrew-taps | ||
commit_author: | ||
name: GoCardless Engineering | ||
email: [email protected] | ||
install: bin.install "draupnir" | ||
description: Client for the draupnir database service | ||
folder: Formula | ||
test: system "draupnir-client help" | ||
|
||
nfpms: | ||
- maintainer: GoCardless Engineering <[email protected]> | ||
description: Databases on demand | ||
formats: [deb] | ||
bindir: /usr/local/bin | ||
files: | ||
"cmd/draupnir-create-instance": "/usr/local/bin/draupnir-create-instance" | ||
"cmd/draupnir-destroy-instance": "/usr/local/bin/draupnir-destroy-instance" | ||
"cmd/draupnir-finalise-image": "/usr/local/bin/draupnir-finalise-image" | ||
"cmd/draupnir-destroy-image": "/usr/local/bin/draupnir-destroy-image" | ||
"scripts/iptables": "/usr/lib/draupnir/bin/iptables" |