Update .goreleaser.yml

This commit is contained in:
Tomas Touceda 2021-08-04 15:41:37 -03:00
parent 3ac8494d23
commit 08d9670683
2 changed files with 15 additions and 5 deletions

View file

@ -1,5 +1,9 @@
project_name: fleet
monorepo:
tag_prefix: fleet-
dir: .
before:
hooks:
- make deps

View file

@ -1,10 +1,16 @@
project_name: orbit
monorepo:
tag_prefix: orbit-
dir: orbit
before:
hooks:
- go mod download
builds:
- id: orbit
dir: ./cmd/orbit/
dir: ./orbit/cmd/orbit/
binary: orbit
env:
- CGO_ENABLED=0
@ -17,10 +23,10 @@ builds:
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
hooks:
post: ./tools/build/sign-macos.sh {{ .Path }}
post: ./orbit/tools/build/sign-macos.sh {{ .Path }}
- id: orbit-package
dir: ./cmd/package/
dir: ./orbit/cmd/package/
binary: orbit-package
env:
- CGO_ENABLED=0
@ -33,7 +39,7 @@ builds:
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
hooks:
post: ./tools/build/sign-macos.sh {{ .Path }}
post: ./orbit/tools/build/sign-macos.sh {{ .Path }}
archives:
- id: orbit
@ -73,5 +79,5 @@ changelog:
release:
github:
owner: fleetdm
name: orbit
name: fleet
draft: true