Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from prql/publish
Browse files Browse the repository at this point in the history
Publish actions
  • Loading branch information
Tobias Brandt authored Oct 17, 2022
2 parents 222a0f5 + 6d44981 commit 97dda68
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 42 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- v[0-9]+.*

jobs:
create-release:
create-gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,7 @@ jobs:
# (Required) GitHub token for creating GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
upload-gh-assets:
strategy:
matrix:
os:
Expand All @@ -48,3 +48,14 @@ jobs:
zip: windows
# (required) GitHub token for uploading assets to GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}

publish-to-crates-io:
runs-on: ubuntu-latest
steps:
- name: 📂 Checkout code
uses: actions/checkout@v3
- uses: actions-rs/cargo@v1
with:
command: publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# pq Changelog

## 0.0.7 - 2022-10-17

* Updated repo links to point to prql organisation.
* Removed UNLICENSE.

## 0.0.6 - 2022-10-15

* Updtate to prql-compiler version 0.2.9
* Updated to prql-compiler version 0.2.9

## 0.0.5 - 2022-10-13

* Added support for querying PostgreSQL databases (through DuckDB).
* Added support for querying Sqlite databases (through DuckDB).
* Added support for querying DuckDB databases.
* Added UNLICENSED.
* Added UNLICENSE.

## 0.0.4 - 2022-10-13

Expand Down
11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
[package]
name = "prql-query"
description = "pq: query and transform data with PRQL"
name = "pq"
repository = "https://github.com/prql/prql-query"
license = "MIT OR Apache-2.0"
edition = "2021"
version = "0.0.6"
rust-version = "1.64.0"
version = "0.0.7"

[[bin]]
name = "pq"
path = "src/main.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# prql-query (pq)

[![license](http://img.shields.io/badge/license-Apache%20v2-blue.svg)](https://raw.githubusercontent.com/snth/prql-query/main/LICENSE-APACHE)
[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/snth/prql-query/main/LICENSE-MIT)
[![license](http://img.shields.io/badge/license-UNLICENSE-blue.svg)](https://raw.githubusercontent.com/snth/main/prql-query/master/UNLICENSE)
[![license](http://img.shields.io/badge/license-Apache%20v2-blue.svg)](https://raw.githubusercontent.com/prql/prql-query/main/LICENSE-APACHE)
[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/prql/prql-query/main/LICENSE-MIT)

## Query and transform data with PRQL

Expand All @@ -16,9 +15,8 @@ DataFusion](https://arrow.apache.org/datafusion/) and
™)!

Licensed under
[Apache](https://raw.githubusercontent.com/snth/prql-query/main/LICENSE-APACHE),
[MIT](https://raw.githubusercontent.com/snth/prql-query/main/LICENSE-MIT) or the
[UNLICENSE](https://unlicense.org).
[Apache](https://raw.githubusercontent.com/prql/prql-query/main/LICENSE-APACHE) or
[MIT](https://raw.githubusercontent.com/prql/prql-query/main/LICENSE-MIT).

## Examples

Expand Down Expand Up @@ -53,22 +51,20 @@ Licensed under
### Download a binary from Github Release

Binaries are built for Windows, macOS and Linux for every release and can be
dowloaded from [Releases](https://github.com/snth/prql-query/releases/)
([latest](https://github.com/snth/prql-query/releases/latest)).
dowloaded from [Releases](https://github.com/prql/prql-query/releases/)
([latest](https://github.com/prql/prql-query/releases/latest)).

### Run as a container image (Docker)

git clone https://github.com/snth/prql-query.git
git clone https://github.com/prql/prql-query.git
cd prql-query
docker build -t pq .
alias pq="docker run --rm -it -v $(pwd):/data -w /data -u $(id -u):$(id -g) pq"
pq --help

### Via Rust toolchain (Cargo)

git clone https://github.com/snth/prql-query.git
cd prql-query
cargo install --path .
cargo install prql-query

## Usage

Expand Down
24 changes: 0 additions & 24 deletions UNLICENSE

This file was deleted.

0 comments on commit 97dda68

Please sign in to comment.