From 61408cb4703b3aed910411e39e6ecfe45b7f1669 Mon Sep 17 00:00:00 2001 From: LIAUD Corentin Date: Wed, 18 Dec 2024 11:12:56 +0100 Subject: [PATCH] chore: version 2.1.0 --- .github/workflows/rust-release.yml | 16 ++++++++-------- Cargo.toml | 2 +- adb_cli/Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 90223a7..a013908 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -25,6 +25,13 @@ jobs: cargo install cargo-deb cargo install cargo-generate-rpm + - name: "Publish crates" + run: | + cargo publish -p adb_client --token ${CRATES_IO_TOKEN} + cargo publish -p adb_cli --token ${CRATES_IO_TOKEN} + env: + CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} + - name: "build-release" run: cargo build --all-features --release @@ -40,11 +47,4 @@ jobs: files: | target/debian/*.deb target/generate-rpm/*.rpm - target/release/adb_cli - - - name: "Publish crates" - run: | - cargo publish -p adb_client --token ${CRATES_IO_TOKEN} - cargo publish -p adb_cli --token ${CRATES_IO_TOKEN} - env: - CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} \ No newline at end of file + target/release/adb_cli \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index fee449d..891f418 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ homepage = "https://github.com/cocool97/adb_client" keywords = ["adb", "android", "tcp", "usb"] license = "MIT" repository = "https://github.com/cocool97/adb_client" -version = "2.0.6" +version = "2.1.0" # To build locally when working on a new release [patch.crates-io] diff --git a/adb_cli/Cargo.toml b/adb_cli/Cargo.toml index 48ad188..d6b0403 100644 --- a/adb_cli/Cargo.toml +++ b/adb_cli/Cargo.toml @@ -10,7 +10,7 @@ repository.workspace = true version.workspace = true [dependencies] -adb_client = { version = "2.0.6" } +adb_client = { version = "*" } anyhow = { version = "1.0.94" } clap = { version = "4.5.23", features = ["derive"] } env_logger = { version = "0.11.5" }