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

Commit 97dda68

Browse files
author
Tobias Brandt
authored
Merge pull request #1 from prql/publish
Publish actions
2 parents 222a0f5 + 6d44981 commit 97dda68

File tree

5 files changed

+37
-42
lines changed

5 files changed

+37
-42
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- v[0-9]+.*
1010

1111
jobs:
12-
create-release:
12+
create-gh-release:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
@@ -23,7 +23,7 @@ jobs:
2323
# (Required) GitHub token for creating GitHub Releases.
2424
token: ${{ secrets.GITHUB_TOKEN }}
2525

26-
upload-assets:
26+
upload-gh-assets:
2727
strategy:
2828
matrix:
2929
os:
@@ -48,3 +48,14 @@ jobs:
4848
zip: windows
4949
# (required) GitHub token for uploading assets to GitHub Releases.
5050
token: ${{ secrets.GITHUB_TOKEN }}
51+
52+
publish-to-crates-io:
53+
runs-on: ubuntu-latest
54+
steps:
55+
- name: 📂 Checkout code
56+
uses: actions/checkout@v3
57+
- uses: actions-rs/cargo@v1
58+
with:
59+
command: publish
60+
env:
61+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
# pq Changelog
22

3+
## 0.0.7 - 2022-10-17
4+
5+
* Updated repo links to point to prql organisation.
6+
* Removed UNLICENSE.
7+
38
## 0.0.6 - 2022-10-15
49

5-
* Updtate to prql-compiler version 0.2.9
10+
* Updated to prql-compiler version 0.2.9
611

712
## 0.0.5 - 2022-10-13
813

914
* Added support for querying PostgreSQL databases (through DuckDB).
1015
* Added support for querying Sqlite databases (through DuckDB).
1116
* Added support for querying DuckDB databases.
12-
* Added UNLICENSED.
17+
* Added UNLICENSE.
1318

1419
## 0.0.4 - 2022-10-13
1520

Cargo.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
[package]
2+
name = "prql-query"
23
description = "pq: query and transform data with PRQL"
3-
name = "pq"
4+
repository = "https://github.com/prql/prql-query"
5+
license = "MIT OR Apache-2.0"
46
edition = "2021"
5-
version = "0.0.6"
7+
rust-version = "1.64.0"
8+
version = "0.0.7"
9+
10+
[[bin]]
11+
name = "pq"
12+
path = "src/main.rs"
613

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

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# prql-query (pq)
22

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

76
## Query and transform data with PRQL
87

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

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

2321
## Examples
2422

@@ -53,22 +51,20 @@ Licensed under
5351
### Download a binary from Github Release
5452

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

5957
### Run as a container image (Docker)
6058

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

6765
### Via Rust toolchain (Cargo)
6866

69-
git clone https://github.com/snth/prql-query.git
70-
cd prql-query
71-
cargo install --path .
67+
cargo install prql-query
7268

7369
## Usage
7470

UNLICENSE

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)