-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Horusiath/release-v0.2
release v0.2
- Loading branch information
Showing
6 changed files
with
51 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | ||
|
||
name: Release packages | ||
|
||
jobs: | ||
release-crate: | ||
name: release to crates.io | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: install rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
|
||
- name: cargo publish yrs-kvstore | ||
run: cd yrs-kvstore && cargo publish --all-features --token ${CRATES_TOKEN} | ||
env: | ||
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
|
||
- name: cargo publish yrs-lmdb | ||
run: sleep 20 && cd yrs-lmdb && cargo publish --all-features --token ${CRATES_TOKEN} | ||
env: | ||
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
|
||
- name: cargo publish yrs-rocksdb | ||
run: sleep 20 && cd yrs-rocksdb && cargo publish --all-features --token ${CRATES_TOKEN} | ||
env: | ||
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "yrs-kvstore" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
description = "Generic persistence layer over Yrs documents" | ||
license = "MIT" | ||
authors = ["Bartosz Sypytkowski <[email protected]>"] | ||
|
@@ -13,13 +13,12 @@ readme = "./README.md" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
lib0 = ">= 0.16" | ||
yrs = ">= 0.16" | ||
yrs = "0.17" | ||
thiserror = "1.0" | ||
smallvec = { version="1.10", features=["write","union","const_generics","const_new"] } | ||
smallvec = { version = "1.10", features=["write","union","const_generics","const_new"] } | ||
|
||
[dev-dependencies] | ||
criterion = "0.4" | ||
criterion = "0.5" | ||
rand = "0.7" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "yrs-lmdb" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
description = "Persistence layer over Yrs documents for LMDB backend" | ||
license = "MIT" | ||
authors = ["Bartosz Sypytkowski <[email protected]>"] | ||
|
@@ -13,13 +13,12 @@ readme = "./README.md" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
yrs-kvstore = {version = "0.1", path = "../yrs-kvstore"} | ||
yrs-kvstore = {version = "0.2", path = "../yrs-kvstore"} | ||
lmdb-rs = { version = "0.7" } | ||
|
||
[dev-dependencies] | ||
lib0 = ">= 0.16" | ||
yrs = ">= 0.16" | ||
criterion = "0.4" | ||
yrs = "0.17" | ||
criterion = "0.5" | ||
rand = "0.7" | ||
|
||
[[bench]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "yrs-rocksdb" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
description = "Persistence layer over Yrs documents for RocksDB backend" | ||
license = "MIT" | ||
authors = ["Bartosz Sypytkowski <[email protected]>"] | ||
|
@@ -13,13 +13,12 @@ readme = "./README.md" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
yrs-kvstore = {version = "0.1", path = "../yrs-kvstore"} | ||
rocksdb = { version = ">=0.19" } | ||
yrs-kvstore = {version = "0.2", path = "../yrs-kvstore"} | ||
rocksdb = { version = "0.21" } | ||
|
||
[dev-dependencies] | ||
lib0 = ">= 0.16" | ||
yrs = ">= 0.16" | ||
criterion = "0.4" | ||
yrs = "0.17" | ||
criterion = "0.5" | ||
rand = "0.7" | ||
|
||
[[bench]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters