fix: postgres/psql cross-contamination, watchexec tag filter, meta assets

- postgres/psql: add asset_filter to separate assets from shared repo
  (bnnanet/postgresql-releases contains postgres-*, postgresql-*, psql-*)
- watchexec: change tag_prefix to version_prefixes so old plain-tagged
  releases (v1.20.6+) aren't filtered out — only strip the cli- prefix
- classify: add .minisig, b3sums, dist-manifest.json to IsMetaAsset
  filter to prevent checksum/signature files from leaking into cache
This commit is contained in:
AJ ONeal
2026-03-10 18:56:19 -06:00
parent dbe3632df4
commit 07d5f36ed4
4 changed files with 5 additions and 2 deletions

View File

@@ -214,7 +214,7 @@ func IsMetaAsset(name string) bool {
".txt",
".sha256", ".sha256sum", ".sha512", ".sha512sum",
".md5", ".md5sum", ".sig", ".asc", ".pem",
".sbom", ".spdx", ".json.sig", ".sigstore",
".sbom", ".spdx", ".json.sig", ".sigstore", ".minisig",
"_src.tar.gz", "_src.tar.xz", "_src.zip",
"-src.tar.gz", "-src.tar.xz", "-src.zip",
".d.ts", ".pub",
@@ -234,6 +234,7 @@ func IsMetaAsset(name string) bool {
}
for _, exact := range []string{
"install.sh", "install.ps1", "compat.json",
"b3sums", "dist-manifest.json",
} {
if lower == exact {
return true

View File

@@ -1,3 +1,4 @@
source = github
owner = bnnanet
repo = postgresql-releases
asset_filter = postgres

View File

@@ -1,3 +1,4 @@
source = github
owner = bnnanet
repo = postgresql-releases
asset_filter = psql

View File

@@ -1,4 +1,4 @@
source = github
owner = watchexec
repo = watchexec
tag_prefix = cli-
version_prefixes = cli-