mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-06 18:36:50 +00:00
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:
@@ -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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
source = github
|
||||
owner = bnnanet
|
||||
repo = postgresql-releases
|
||||
asset_filter = postgres
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
source = github
|
||||
owner = bnnanet
|
||||
repo = postgresql-releases
|
||||
asset_filter = psql
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
source = github
|
||||
owner = watchexec
|
||||
repo = watchexec
|
||||
tag_prefix = cli-
|
||||
version_prefixes = cli-
|
||||
|
||||
Reference in New Issue
Block a user