mirror of
https://github.com/ergochat/ergo.git
synced 2026-03-13 18:58:02 +01:00
goreleaser updates for v2.18 (#2357)
* Full build is default * sqlite is only supported on Linux, MacOS, and FreeBSD; override the sqlite build tag based on OS where unsupported
This commit is contained in:
parent
e7558f292c
commit
ca4c3c09df
@ -52,6 +52,7 @@ builds:
|
||||
goarch: riscv64
|
||||
flags:
|
||||
- -trimpath
|
||||
- -tags={{.Env.ERGO_BUILD_TAGS}}
|
||||
|
||||
archives:
|
||||
-
|
||||
@ -72,6 +73,7 @@ archives:
|
||||
- default.yaml
|
||||
- traditional.yaml
|
||||
- docs/API.md
|
||||
- docs/BUILD.md
|
||||
- docs/MANUAL.md
|
||||
- docs/USERGUIDE.md
|
||||
- languages/*.yaml
|
||||
|
||||
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ install:
|
||||
|
||||
.PHONY: release
|
||||
release:
|
||||
goreleaser --skip=publish --clean
|
||||
ERGO_BUILD_TAGS="$(ERGO_BUILD_TAGS)" goreleaser --skip=publish --clean
|
||||
|
||||
.PHONY: minimal
|
||||
minimal:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
//go:build sqlite
|
||||
//go:build sqlite && (linux || darwin || freebsd || windows)
|
||||
|
||||
// Copyright (c) 2020 Shivaram Lingamneni
|
||||
// released under the MIT license
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
//go:build !sqlite
|
||||
//go:build !sqlite || !(linux || darwin || freebsd || windows)
|
||||
|
||||
// Copyright (c) 2020 Shivaram Lingamneni
|
||||
// released under the MIT license
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user