mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-04 05:37:35 +03:00
Switch to build tags "noserver" instead of using _linux suffix
This commit is contained in:
parent
ab01d0f04e
commit
c33065151e
8 changed files with 23 additions and 20 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue