diff --git a/.github/workflows/release-pgxn.yml b/.github/workflows/release-pgxn.yml new file mode 100644 index 0000000..cb75594 --- /dev/null +++ b/.github/workflows/release-pgxn.yml @@ -0,0 +1,20 @@ +name: Release +on: + push: + tags: [v*] +jobs: + release: + name: Release on PGXN + runs-on: ubuntu-latest + container: pgxn/pgxn-tools + env: + PGXN_USERNAME: ${{ secrets.PGXN_USERNAME }} + PGXN_PASSWORD: ${{ secrets.PGXN_PASSWORD }} + steps: + - name: Check out the repo + uses: actions/checkout@v4 + - name: Bundle the Release + id: bundle + run: pgxn-bundle + - name: Release on PGXN + run: pgxn-release diff --git a/META.json b/META.json new file mode 100644 index 0000000..a322f98 --- /dev/null +++ b/META.json @@ -0,0 +1,44 @@ +{ + "name": "pgpdf", + "abstract": "PDF Type for Postgres", + "version": "0.1.0", + "maintainer": [ + "Florents Tselai " + ], + "license": "GPL-2.0", + "generated_by": "Florents Tselai", + "release_status": "stable", + "prereqs": { + "runtime": { + "requires": { + "PostgreSQL": "14.0.0" + } + } + }, + "provides": { + "pgpdf": { + "file": "sql/pgpdf--0.1.0.sql", + "docfile": "README.md", + "version": "0.1.0", + "abstract": "PDF Type for Postgres" + } + }, + "resources": { + "bugtracker": { + "web": "https://github.com/Florents-Tselai/pgpdf/issues" + }, + "repository": { + "url": "git://github.com/Florents-Tselai/pgpdf.git" , + "web": "https://github.com/Florents-Tselai/pgpdf", + "type": "git" + } + }, + "meta-spec": { + "version": "1.0.0", + "url": "http://pgxn.org/meta/spec.txt" + }, + "tags": [ + "pdf", + "documents" + ] +}