quintodrome/.goreleaser.yml

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

144 lines
3.3 KiB
YAML
Raw Normal View History

2020-01-26 08:36:24 -09:00
# GoReleaser config
2020-04-22 16:56:04 -08:00
project_name: navidrome
2020-01-26 08:36:24 -09:00
2023-01-12 18:04:36 -09:00
before:
hooks:
- go env -w GOFLAGS="-buildvcs=false"
2020-01-26 08:36:24 -09:00
builds:
- id: navidrome_linux_amd64
2020-01-26 08:36:24 -09:00
env:
- CGO_ENABLED=1
goos:
- linux
2020-01-26 08:36:24 -09:00
goarch:
- amd64
flags:
2023-01-13 17:35:54 -09:00
- -tags=netgo
2020-01-26 08:36:24 -09: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 09:36:00 -08:00
- id: navidrome_linux_386
env:
- CGO_ENABLED=1
2022-09-27 12:47:47 -08:00
- PKG_CONFIG_PATH=/i386/lib/pkgconfig
2020-08-07 09:36:00 -08:00
goos:
- linux
goarch:
- "386"
2020-08-07 09:36:00 -08:00
flags:
2023-01-13 17:35:54 -09:00
- -tags=netgo
2020-08-07 09:36:00 -08: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 08:36:24 -09:00
- id: navidrome_linux_arm
2020-01-26 08:36:24 -09:00
env:
- CGO_ENABLED=1
- CC=arm-linux-gnueabi-gcc
- CXX=arm-linux-gnueabi-g++
2022-09-27 12:47:47 -08:00
- PKG_CONFIG_PATH=/arm/lib/pkgconfig
2020-01-26 08:36:24 -09:00
goos:
- linux
goarch:
- arm
goarm:
- "5"
- "6"
- "7"
flags:
2023-01-13 17:35:54 -09: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 12:47:47 -08:00
- PKG_CONFIG_PATH=/arm64/lib/pkgconfig
goos:
- linux
goarch:
- arm64
2020-01-26 08:36:24 -09:00
flags:
2023-01-13 17:35:54 -09:00
- -tags=netgo
2020-01-26 08:36:24 -09: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 08:36:24 -09:00
env:
- CGO_ENABLED=1
- CC=i686-w64-mingw32-gcc
- CXX=i686-w64-mingw32-g++
- PKG_CONFIG_PATH=/mingw32/lib/pkgconfig
2020-01-26 08:36:24 -09:00
goos:
- windows
goarch:
- "386"
2020-01-26 08:36:24 -09:00
flags:
2023-01-13 17:35:54 -09:00
- -tags=netgo
2020-01-26 08:36:24 -09: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 08:36:24 -09:00
- id: navidrome_windows_amd64
2020-01-26 08:36:24 -09: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 08:36:24 -09:00
goos:
- windows
goarch:
- amd64
flags:
2023-01-13 17:35:54 -09:00
- -tags=netgo
2020-01-26 08:36:24 -09: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 08:36:24 -09:00
- id: navidrome_darwin_amd64
2020-09-10 13:49:25 -08:00
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
- PKG_CONFIG_PATH=/darwin/lib/pkgconfig
goos:
- darwin
goarch:
- amd64
flags:
2023-01-13 17:35:54 -09:00
- -tags=netgo
2020-09-10 13:49:25 -08:00
ldflags:
- -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}
2020-01-26 08:36:24 -09:00
archives:
2020-07-09 11:00:51 -08:00
- format_overrides:
2020-01-26 08:36:24 -09:00
- goos: windows
format: zip
2020-03-13 17:41:24 -08:00
replacements:
darwin: macOS
linux: Linux
windows: Windows
386: i386
amd64: x86_64
2020-01-26 08:36:24 -09:00
checksum:
2020-04-17 05:41:34 -08:00
name_template: "{{ .ProjectName }}_checksums.txt"
2020-01-26 08:36:24 -09:00
snapshot:
2020-04-17 05:41:34 -08:00
name_template: "{{ .Tag }}-SNAPSHOT"
2020-01-26 08:36:24 -09:00
release:
draft: true
changelog:
2020-04-17 09:52:18 -08:00
# sort: asc
2020-01-26 08:36:24 -09:00
filters:
exclude:
2020-04-17 05:41:34 -08:00
- "^docs:"