mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Resolves #43259. - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. ## Testing - [x] QA'd all new/changed functionality manually ## fleetd/orbit/Fleet Desktop - [x] Verified compatibility with the latest released version of Fleet (see [Must rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md)) - [x] Verified that fleetd runs on macOS, Linux and Windows - [x] Verified auto-update works from the released version of component to the new version (see [tools/tuf/test](../tools/tuf/test/README.md))
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
version: 2
|
|
|
|
project_name: orbit
|
|
|
|
#################################################################################################
|
|
# If this is updated make sure to update the "How to build from source" section in the README.md.
|
|
#################################################################################################
|
|
|
|
builds:
|
|
- id: orbit
|
|
dir: ./orbit/cmd/orbit/
|
|
binary: orbit
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s
|
|
- -w
|
|
- -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}}
|
|
hooks:
|
|
pre: "go run ./orbit/tools/build/build-windows.go -version {{.Version}} -input ./orbit/cmd/orbit -resource=true"
|
|
|
|
archives:
|
|
- id: orbit
|
|
builds:
|
|
- orbit
|
|
name_template: orbit_{{.Version}}_{{.Os}}
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
version_template: "{{ .Tag }}-untagged"
|
|
|
|
changelog:
|
|
disable: true
|