2021-08-04 18:41:37 +00:00
|
|
|
project_name: orbit
|
|
|
|
|
2021-08-04 19:58:25 +00:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
|
|
|
|
builds:
|
|
|
|
- id: orbit
|
2021-08-04 18:41:37 +00:00
|
|
|
dir: ./orbit/cmd/orbit/
|
2021-08-04 19:58:25 +00:00
|
|
|
binary: orbit
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-12-22 23:58:06 +00:00
|
|
|
flags:
|
|
|
|
- -trimpath
|
2021-08-04 19:58:25 +00:00
|
|
|
ldflags:
|
2022-05-02 18:03:49 +00:00
|
|
|
- -X github.com/fleetdm/fleet/v4/orbit/pkg/build.Version={{.Version}}
|
|
|
|
- -X github.com/fleetdm/fleet/v4/orbit/pkg/build.Commit={{.Commit}}
|
|
|
|
- -X github.com/fleetdm/fleet/v4/orbit/pkg/build.Date={{.Date}}
|
2021-08-04 19:58:25 +00:00
|
|
|
hooks:
|
2021-08-04 18:41:37 +00:00
|
|
|
post: ./orbit/tools/build/sign-macos.sh {{ .Path }}
|
2021-08-04 19:58:25 +00:00
|
|
|
|
|
|
|
archives:
|
|
|
|
- id: orbit
|
|
|
|
builds:
|
|
|
|
- orbit
|
|
|
|
name_template: orbit_{{.Version}}_{{.Os}}
|
|
|
|
replacements:
|
|
|
|
darwin: macos
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-untagged"
|
|
|
|
|
2021-12-20 01:37:54 +00:00
|
|
|
changelog:
|
|
|
|
skip: true
|
|
|
|
|
2021-08-04 19:58:25 +00:00
|
|
|
release:
|
|
|
|
github:
|
|
|
|
owner: fleetdm
|
2021-08-04 18:41:37 +00:00
|
|
|
name: fleet
|
2021-08-04 19:58:25 +00:00
|
|
|
draft: true
|
2021-12-20 01:37:54 +00:00
|
|
|
name_template: "orbit-{{ .Tag }}"
|
|
|
|
prerelease: auto
|