Skip to content

Bump pgxn to version 12.1.4 (#1107) #168

Bump pgxn to version 12.1.4 (#1107)

Bump pgxn to version 12.1.4 (#1107) #168

Workflow file for this run

name: Release on PGXN
on:
push:
branches:
- "**"
jobs:
release_check:
if: github.ref != 'refs/heads/pgxn-citus'
name: Release check
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Bundle the Release
run: pgxn-bundle
release_pgxn:
if: github.ref == 'refs/heads/pgxn-citus'
name: Actual Release on PGXN
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Release package
env:
MAIN_BRANCH: pgxn-citus
PGXN_USERNAME: ${{ secrets.PGXN_USER_NAME }}
PGXN_PASSWORD: ${{ secrets.PGXN_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
shell: bash
run: |
sudo apt install -y zip
source pkgvars
pkg_path=$(pwd)/"citus-${pkglatest}.zip"
./scripts/fetch_and_build_pgxn release
./scripts/release_pgxn $pkg_path