From 9db8e9c1ca796b8f425f54330a230eef94a96bb4 Mon Sep 17 00:00:00 2001 From: frectonz Date: Mon, 18 Nov 2024 10:59:34 +0300 Subject: [PATCH] feat: add pgxn release --- .github/workflows/release.yml | 20 ++++++++++++++++ META.json | 45 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 META.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..adab18b --- /dev/null +++ b/.github/workflows/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 + 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 + run: pgxn-bundle + - name: Release on PGXN + run: pgxn-release diff --git a/META.json b/META.json new file mode 100644 index 0000000..3c82eae --- /dev/null +++ b/META.json @@ -0,0 +1,45 @@ +{ + "name": "pglite_fusion", + "abstract": "Embed an SQLite database in your PostgreSQL table", + "description": "The pglite_fusion extension provides an SQLite type and functions to work with that type that let's you embed an SQLite database in your PostgreSQL table as a column type.", + "version": "0.0.0", + "maintainer": [ + "Fraol Lemecha " + ], + "license": "mit", + "provides": { + "pglite_fusion": { + "abstract": "Embed an SQLite database in your PostgreSQL table", + "file": "src/lib.rs", + "docfile": "README.md", + "version": "0.0.0" + } + }, + "prereqs": { + "runtime": { + "requires": { + "PostgreSQL": "12.0.0" + } + } + }, + "resources": { + "bugtracker": { + "web": "https://github.com/frectonz/pglite-fusion/issues" + }, + "repository": { + "url": "git://github.com/frectonz/pglite-fusion.git", + "web": "https://github.com/frectonz/pglite-fusion", + "type": "git" + } + }, + "generated_by": "Fraol Lemecha", + "meta-spec": { + "version": "1.0.0", + "url": "https://pgxn.org/meta/spec.txt" + }, + "tags": [ + "pgrx", + "sqlite", + "rust" + ] +}