3
0
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:
Shivaram Lingamneni 2026-03-12 19:37:56 -07:00 committed by GitHub
parent e7558f292c
commit ca4c3c09df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

@ -1,4 +1,4 @@
//go:build sqlite
//go:build sqlite && (linux || darwin || freebsd || windows)
// Copyright (c) 2020 Shivaram Lingamneni
// released under the MIT license

View File

@ -1,4 +1,4 @@
//go:build !sqlite
//go:build !sqlite || !(linux || darwin || freebsd || windows)
// Copyright (c) 2020 Shivaram Lingamneni
// released under the MIT license