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
4 changed files with 5 additions and 3 deletions
+2
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
+1 -1
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:
+1 -1
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
+1 -1
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