Switch to build tags "noserver" instead of using _linux suffix

This commit is contained in:
Philipp Heckel 2022-05-21 09:46:49 -04:00
parent ab01d0f04e
commit c33065151e
8 changed files with 23 additions and 20 deletions

View file

@ -59,6 +59,7 @@ builds:
binary: ntfy
env:
- CGO_ENABLED=0 # explicitly disable, since we don't need go-sqlite3
tags: [noserver] # don't include server files
ldflags:
- "-X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
goos: [windows]
@ -71,6 +72,7 @@ builds:
binary: ntfy
env:
- CGO_ENABLED=0 # explicitly disable, since we don't need go-sqlite3
tags: [noserver] # don't include server files
ldflags:
- "-X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
goos: [darwin]