navidrome/.goreleaser.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

134 lines
3.2 KiB
YAML
Raw Permalink Normal View History

2020-01-26 18:36:24 +01:00
# GoReleaser config
2020-04-23 02:56:04 +02:00
project_name: navidrome
2020-01-26 18:36:24 +01:00
builds:
- id: navidrome_linux_amd64
2020-01-26 18:36:24 +01:00
env:
- CGO_ENABLED=1
goos:
- linux
2020-01-26 18:36:24 +01:00
goarch:
- amd64
flags:
2023-01-14 03:35:54 +01:00
- -tags=netgo
2020-01-26 18:36:24 +01:00
ldflags:
- "-extldflags '-static -lz'"
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
2020-08-07 19:36:00 +02:00
- id: navidrome_linux_386
env:
- CGO_ENABLED=1
2022-09-27 22:47:47 +02:00
- PKG_CONFIG_PATH=/i386/lib/pkgconfig
2020-08-07 19:36:00 +02:00
goos:
- linux
goarch:
- "386"
2020-08-07 19:36:00 +02:00
flags:
2023-01-14 03:35:54 +01:00
- -tags=netgo
2020-08-07 19:36:00 +02:00
ldflags:
- "-extldflags '-static'"
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
2020-01-26 18:36:24 +01:00
- id: navidrome_linux_arm
2020-01-26 18:36:24 +01:00
env:
- CGO_ENABLED=1
- CC=arm-linux-gnueabi-gcc
- CXX=arm-linux-gnueabi-g++
2022-09-27 22:47:47 +02:00
- PKG_CONFIG_PATH=/arm/lib/pkgconfig
2020-01-26 18:36:24 +01:00
goos:
- linux
goarch:
- arm
goarm:
- "5"
- "6"
- "7"
flags:
2023-01-14 03:35:54 +01:00
- -tags=netgo
ldflags:
- "-extldflags '-static'"
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
- id: navidrome_linux_arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
2022-09-27 22:47:47 +02:00
- PKG_CONFIG_PATH=/arm64/lib/pkgconfig
goos:
- linux
goarch:
- arm64
2020-01-26 18:36:24 +01:00
flags:
2023-01-14 03:35:54 +01:00
- -tags=netgo
2020-01-26 18:36:24 +01:00
ldflags:
- "-extldflags '-static'"
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
- id: navidrome_windows_386
2020-01-26 18:36:24 +01:00
env:
- CGO_ENABLED=1
- CC=i686-w64-mingw32-gcc
- CXX=i686-w64-mingw32-g++
- PKG_CONFIG_PATH=/mingw32/lib/pkgconfig
2020-01-26 18:36:24 +01:00
goos:
- windows
goarch:
- "386"
2020-01-26 18:36:24 +01:00
flags:
2023-01-14 03:35:54 +01:00
- -tags=netgo
2020-01-26 18:36:24 +01:00
ldflags:
- "-extldflags '-static'"
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
2020-01-26 18:36:24 +01:00
- id: navidrome_windows_amd64
2020-01-26 18:36:24 +01:00
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
- PKG_CONFIG_PATH=/mingw64/lib/pkgconfig
2020-01-26 18:36:24 +01:00
goos:
- windows
goarch:
- amd64
flags:
2023-01-14 03:35:54 +01:00
- -tags=netgo
2020-01-26 18:36:24 +01:00
ldflags:
- "-extldflags '-static'"
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
2020-01-26 18:36:24 +01:00
- id: navidrome_darwin_amd64
2020-09-10 23:49:25 +02:00
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
- PKG_CONFIG_PATH=/darwin/lib/pkgconfig
goos:
- darwin
goarch:
- amd64
flags:
2023-01-14 03:35:54 +01:00
- -tags=netgo
2020-09-10 23:49:25 +02:00
ldflags:
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
2020-01-26 18:36:24 +01:00
archives:
2020-07-09 21:00:51 +02:00
- format_overrides:
2020-01-26 18:36:24 +01:00
- goos: windows
format: zip
2020-03-14 02:41:24 +01:00
2020-01-26 18:36:24 +01:00
checksum:
2020-04-17 15:41:34 +02:00
name_template: "{{ .ProjectName }}_checksums.txt"
2020-01-26 18:36:24 +01:00
snapshot:
2020-04-17 15:41:34 +02:00
name_template: "{{ .Tag }}-SNAPSHOT"
2020-01-26 18:36:24 +01:00
release:
draft: true
changelog:
2020-04-17 19:52:18 +02:00
# sort: asc
2020-01-26 18:36:24 +01:00
filters:
exclude:
2020-04-17 15:41:34 +02:00
- "^docs:"