From b4a1cc792ddf64d35634c06cf89bf5c24c17e827 Mon Sep 17 00:00:00 2001 From: Takayuki Maeda <41065217+TaKO8Ki@users.noreply.github.com> Date: Sat, 28 Aug 2021 18:30:32 +0900 Subject: [PATCH] Publish database-tree (#49) * publish database-tree * use v0.1.0-alpha.1 * always run cargo publish --- .github/workflows/release.yml | 5 +++++ Cargo.lock | 2 +- Cargo.toml | 2 +- database-tree/Cargo.toml | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c81e5d..ddfa3a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,4 +28,9 @@ jobs: - run: cargo login ${CRATES_IO_TOKEN} env: CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} + - name: Cargo puhlish database-tree + run: | + cd database-tree + cargo publish - run: cargo publish + if: ${{ always() }} diff --git a/Cargo.lock b/Cargo.lock index ae3708a..4c440ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -367,7 +367,7 @@ dependencies = [ [[package]] name = "database-tree" -version = "0.1.0" +version = "0.1.0-alpha.1" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index ba8fa9c..ae9ec24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ toml = "0.4" regex = "1" strum = "0.21" strum_macros = "0.21" -database-tree = { path = "./database-tree", version = "0.1" } +database-tree = { path = "./database-tree", version = "0.1.0-alpha.1" } easy-cast = "0.4" copypasta = { version = "0.7.0", default-features = false } async-trait = "0.1.50" diff --git a/database-tree/Cargo.toml b/database-tree/Cargo.toml index 284a002..5a9d6ad 100644 --- a/database-tree/Cargo.toml +++ b/database-tree/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "database-tree" -version = "0.1.0" +version = "0.1.0-alpha.1" authors = ["Takayuki Maeda "] edition = "2018" license = "MIT" homepage = "https://github.com/TaKO8Ki/gobang" repository = "https://github.com/TaKO8Ki/gobang" readme = "README.md" -description = "A cross-platform terminal database tool written in Rust" +description = "Database tree structure" [dependencies] thiserror = "1.0"