Skip to content

Commit

Permalink
Add PGXN Meta.json and release workflow (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Apr 12, 2024
1 parent 25bbdcb commit 29fcd5b
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
@@ -0,0 +1,4 @@
.ci export-ignore
.gitignore export-ignore
.gitattributes export-ignore
.github export-ignore
20 changes: 20 additions & 0 deletions .github/workflows/pgxn-release.yml
@@ -0,0 +1,20 @@
name: 🚀 Release on PGXN
on:
push:
# Release on semantic version tag.
tags: ['v[0-9]+.[0-9]+.[0-9]+']
jobs:
release:
name: 🚀 Release on PGXN
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Bundle the Release
run: pgxn-bundle
- name: Release on PGXN
env:
PGXN_USERNAME: ${{ secrets.PGXN_USERNAME }}
PGXN_PASSWORD: ${{ secrets.PGXN_PASSWORD }}
run: pgxn-release
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@
*.iml
**/*.rs.bk
*.swp
pg_jsonschema-*
46 changes: 46 additions & 0 deletions META.json
@@ -0,0 +1,46 @@
{
"name": "pg_jsonschema",
"abstract": "PostgreSQL extension providing JSON Schema validation",
"description": "pg_jsonschema is a PostgreSQL extension adding support for JSON schema validation on json and jsonb data types.",
"version": "0.3.1",
"maintainer": [
"Oliver Rice <github@oliverrice.com>"
],
"license": "apache_2_0",
"provides": {
"pg_jsonschema": {
"abstract": "PostgreSQL extension providing JSON Schema validation",
"file": "pg_jsonschema.control",
"docfile": "README.md",
"version": "0.3.1"
}
},
"prereqs": {
"runtime": {
"requires": {
"PostgreSQL": "12.0.0"
}
}
},
"resources": {
"bugtracker": {
"web": "https://github.com/supabase/pg_jsonschema/issues/"
},
"repository": {
"url": "git://github.com/supabase/pg_jsonschema.git",
"web": "https://github.com/supabase/pg_jsonschema/",
"type": "git"
}
},
"generated_by": "David E. Wheeler",
"meta-spec": {
"version": "1.0.0",
"url": "https://pgxn.org/meta/spec.txt"
},
"tags": [
"jsonschema",
"validation",
"json",
"jsonb"
]
}

0 comments on commit 29fcd5b

Please sign in to comment.