diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7e0c60f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +.ci export-ignore +.gitignore export-ignore +.gitattributes export-ignore +.github export-ignore diff --git a/.github/workflows/pgxn-release.yml b/.github/workflows/pgxn-release.yml new file mode 100644 index 0000000..26cb515 --- /dev/null +++ b/.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 diff --git a/.gitignore b/.gitignore index c619c96..6e61799 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.iml **/*.rs.bk *.swp +pg_jsonschema-* diff --git a/META.json b/META.json new file mode 100644 index 0000000..0202a6c --- /dev/null +++ b/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 " + ], + "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" + ] +}