Skip to content

Commit

Permalink
Add pgxn-releas workflow
Browse files Browse the repository at this point in the history
Also add .gitattributes so that `git archive` excludes files not needed
in the release archive.
  • Loading branch information
theory committed Mar 14, 2024
1 parent 3372714 commit f732d7f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.gitignore export-ignore
.gitattributes export-ignore
.github export-ignore
20 changes: 20 additions & 0 deletions .github/workflows/pgxn-release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f732d7f

Please sign in to comment.