mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-16 21:59:56 +00:00
Follow-up to the rename commit: the previous commit moved the files but the post-mv string substitutions (Go imports, frontend bindings, CI config paths) were not re-staged so they slipped through. This commit applies those edits and removes the fyne dependencies from go.mod/go.sum now that the legacy fyne UI is gone.
40 lines
843 B
YAML
40 lines
843 B
YAML
version: 2
|
|
|
|
project_name: netbird-ui
|
|
|
|
before:
|
|
hooks:
|
|
- sh -c 'cd client/ui/frontend && pnpm install --frozen-lockfile && pnpm build'
|
|
|
|
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 }}"
|
|
|
|
universal_binaries:
|
|
- id: netbird-ui-darwin
|
|
|
|
archives:
|
|
- builds:
|
|
- netbird-ui-darwin
|
|
|
|
checksum:
|
|
name_template: "{{ .ProjectName }}_darwin_checksums.txt"
|
|
changelog:
|
|
disable: true
|