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

ci: Add PGXN META.json and release workflow #203

Merged
merged 5 commits into from
Feb 4, 2025
Merged

Conversation

theory
Copy link
Contributor

@theory theory commented Jan 31, 2025

Add a Makefile to automate populating the version in the META.json and creating the zip file. .gitattributes prevents unnecessary files from inclusion in the zip file. .github/workflows/pgxn-release.yml uses the pgxn/pgxn-tools OCI to publish the zip file on PGXN when a server tag is pushed.

To actually publish on PGXN, you'll need to follow these steps:

  1. Request a PGXN account. I will approve it ASAP.
  2. Once approved, log in and set a password.
  3. Navigate to either Actions and secrets for this repo or, if you'd like to use the same credentials to publish other extensions on PGXN, for the ParadeDB org.
  4. Hit the "New Repository Secret" or "New Organization Secret" button for each of these two secrets to create them:
    • PGXN_USERNAME: Your PGXN username
    • PGXN_PASSWORD: Your PGXN password

The extension will be published on PGXN the next time you push a tag. If you'd like to publish sooner, simply comment out the tags: ['v[0-9]+.[0-9]+.[0-9]+'] line, push it, let it publish, then uncomment the line to trigger on future tag pushes.

@CLAassistant
Copy link

CLAassistant commented Jan 31, 2025

CLA assistant check
All committers have signed the CLA.

@theory theory changed the title Add PGXN META.json and release workflow ci: Add PGXN META.json and release workflow Jan 31, 2025
Add a `Makefile` to automate populating the version in the `META.json`
and creating the zip file. `.gitattributes` prevents unnecessary files
from inclusion in the zip file. `.github/workflows/pgxn-release.yml`
uses the `pgxn/pgxn-tools` OCI to publish the zip file on PGXN when a
server tag is pushed.
@philippemnoel
Copy link
Collaborator

I pushed to the PR to adjust a few of the settings and conform it with your format. I have an account and have configured the secrets. Thank you for pushing this!

@philippemnoel philippemnoel merged commit b238cfe into paradedb:dev Feb 4, 2025
5 checks passed
@theory theory deleted the pgxn branch February 10, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants