Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PGXN Meta.json and release workflow #54

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
*.iml
**/*.rs.bk
*.swp
pg_jsonschema-*
46 changes: 46 additions & 0 deletions META.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
Loading