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:
|
|
|
|
- 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}}
|
2022-06-13 22:43:47 +00:00
|
|
|
|
|
|
|
- id: orbit-macos
|
|
|
|
dir: ./orbit/cmd/orbit/
|
|
|
|
binary: orbit
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
flags:
|
|
|
|
- -trimpath
|
|
|
|
ldflags:
|
|
|
|
- -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}}
|
|
|
|
|
|
|
|
universal_binaries:
|
|
|
|
- replace: true
|
|
|
|
id: orbit-macos
|
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 }}
|
2022-09-27 15:25:42 +00:00
|
|
|
|
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
|
|
|
|
|
2022-06-13 22:43:47 +00:00
|
|
|
- id: orbit-macos
|
|
|
|
builds:
|
|
|
|
- orbit-macos
|
|
|
|
name_template: orbit_{{.Version}}_macos
|
|
|
|
|
2021-08-04 19:58:25 +00:00
|
|
|
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
|