mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-07 01:10:03 +00:00
Repoint goreleaser configs and the release workflow at client/ui-wails so the published Linux deb/rpm, Windows binaries and macOS UI binaries are built from the Wails source. Linux nfpm deps swap libappindicator/Fyne GL stack for libgtk-3, libwebkit2gtk-4.1 and libayatana-appindicator3, and the packaged .desktop file launches the binary with WEBKIT_DISABLE_DMABUF_RENDERER=1 so RDP/VM sessions render correctly. Frontend bindings are now committed; the release jobs add Node 20 and pnpm 9 and run the frontend build via the goreleaser before-hook.
40 lines
855 B
YAML
40 lines
855 B
YAML
version: 2
|
|
|
|
project_name: netbird-ui
|
|
|
|
before:
|
|
hooks:
|
|
- sh -c 'cd client/ui-wails/frontend && pnpm install --frozen-lockfile && pnpm build'
|
|
|
|
builds:
|
|
- id: netbird-ui-darwin
|
|
dir: client/ui-wails
|
|
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
|