Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
n-e committed Mar 19, 2024
1 parent 87752ac commit ff01d3e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
name: Build - ${{ matrix.platform.target }}
runs-on: ${{ matrix.platform.os }}

# To publish the releases
permissions:
contents: write

strategy:
fail-fast: false
matrix:
Expand All @@ -20,15 +24,27 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
target: ${{ matrix.platform.target }}
args: "--release"
strip: true

- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: pgextract-${{ matrix.platform.target }}
path: target/${{ matrix.platform.target }}/release/pgextract
path: target/${{ matrix.platform.target }}/release/pgextract

- run: cp target/${{ matrix.platform.target }}/release/pgextract pgextract-${{ matrix.platform.target }}

- name: Publish GitHub release
uses: softprops/action-gh-release@v1
with:
draft: true
files: "pgextract-*"
body_path: CHANGELOG.md
if: startsWith( github.ref, 'refs/tags/v' )
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## 0.1.0 - 2024-03-19

Initial release

- Add newline-delimited JSON extract
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pgextract

`pgextract` is a command-line utility to load or extract large or small amounts data from PostgreSQL in various formats.
`pgextract` is a command-line utility that loads or extracts large or small amounts of data from PostgreSQL in various formats.

## Download

Expand All @@ -20,7 +20,7 @@ Unlike many databases, the `psql` CLI only supports text, csv and proprietary bi

## Performance

Same as psql with quick testing
`pgextract` can do 200MB/s+, and its performance is almost always limited by how fast the PostgreSQL server can stream the data.

## Supported formats

Expand Down

0 comments on commit ff01d3e

Please sign in to comment.