build: signed PGXN release tooling + Drone pipeline

Build the distribution from src/ (control, versioned SQL, META, MIT LICENSE,
PGXS Makefile, install README), checksum it, and sign an Ed25519 JWT manifest
(audience pgmorbac-release) with the verification public key attached to the
release. `npm run release` does it locally; the Drone pipeline does it on a
v* tag once the repo is Trusted with the pgmorbac_release_key + gitea_token
secrets.
This commit is contained in:
2026-07-22 09:22:26 +02:00
parent 3ee1e426a8
commit 6dd1026c5a
5 changed files with 258 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"name": "pgmorbac-release-tools",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Release tooling for the pgmorbac PostgreSQL extension (build + sign + publish the PGXN distribution).",
"scripts": {
"dist": "node scripts/build-dist.mjs",
"release": "node scripts/build-dist.mjs && node scripts/gitea-release.mjs"
},
"devDependencies": {
"jose": "^5"
}
}