mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-28 19:13:31 +01:00
6857734c48
Add MACOSX_DEPLOYMENT_TARGET and MACOS_DEPLOYMENT_TARGET to target build compatible with macOS 11+ instead of relying on the builder's local Xcode version.
31 lines
715 B
YAML
31 lines
715 B
YAML
project_name: netbird-ui
|
|
builds:
|
|
- id: netbird-ui-darwin
|
|
dir: client/ui
|
|
binary: netbird-ui
|
|
env:
|
|
- CGO_ENABLED=1
|
|
- MACOSX_DEPLOYMENT_TARGET=11.0
|
|
- MACOS_DEPLOYMENT_TARGET=11.0
|
|
goos:
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
gomips:
|
|
- hardfloat
|
|
- softfloat
|
|
ldflags:
|
|
- -s -w -X github.com/netbirdio/netbird/version.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
tags:
|
|
- load_wgnt_from_rsrc
|
|
|
|
archives:
|
|
- builds:
|
|
- netbird-ui-darwin
|
|
|
|
checksum:
|
|
name_template: "{{ .ProjectName }}_darwin_checksums.txt"
|
|
changelog:
|
|
skip: true |