1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

build: Update goreleaser for Elm UI

This commit is contained in:
James Hillyerd
2019-01-06 13:44:35 -08:00
parent 683ce1241e
commit 07e75495e8
4 changed files with 16 additions and 5 deletions

View File

@@ -12,8 +12,14 @@ brew:
email: goreleaser@carlosbecker.com
install: bin.install ""
before:
hooks:
- go mod download
builds:
- binary: inbucket
env:
- CGO_ENABLED=0
goos:
- darwin
- freebsd
@@ -26,6 +32,8 @@ builds:
main: ./cmd/inbucket
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
- binary: inbucket-client
env:
- CGO_ENABLED=0
goos:
- darwin
- freebsd
@@ -51,7 +59,8 @@ archive:
- README*
- CHANGELOG*
- etc/**/*
- ui/**/*
- ui/dist/**/*
- ui/greeting.html
nfpm:
vendor: inbucket.org
@@ -63,7 +72,7 @@ nfpm:
- deb
- rpm
files:
"ui/**/*": "/usr/local/share/inbucket/ui"
"ui/dist/**/*": "/usr/local/share/inbucket/ui"
config_files:
"etc/linux/inbucket.service": "/lib/systemd/system/inbucket.service"
"ui/greeting.html": "/etc/inbucket/greeting.html"