From 1191cf293c53883516a55e7fe6f4e9431cfbe335 Mon Sep 17 00:00:00 2001 From: Mehul <65443164+infiniteregrets@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:53:15 -0500 Subject: [PATCH] chore: rename to streamstore-cli (#66) --- .github/workflows/release.yml | 9 ++++++ Cargo.lock | 52 +++++++++++++++++------------------ Cargo.toml | 2 +- 3 files changed, 36 insertions(+), 27 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c4c347..5eddc25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,15 @@ jobs: run: | echo "${{ secrets.MACOS_PEM }}" | base64 -d -o macos.pem echo "${{ secrets.MACOS_CERTIFICATE_DER }}" | base64 -d -o certificate.der + - name: rename binary streamstore-cli -> s2 + shell: bash + run: + if [ "${{ matrix.os }}" = "windows-latest" ]; + then + mv target/${{ matrix.target }}/release/streamstore-cli.exe target/${{ matrix.target }}/release/s2.exe + else + mv target/${{ matrix.target }}/release/streamstore-cli target/${{ matrix.target }}/release/s2 + fi - name: Sign macos binary if: matrix.os == 'macos-latest' uses: indygreg/apple-code-sign-action@v1 diff --git a/Cargo.lock b/Cargo.lock index d47706c..12056e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1462,32 +1462,6 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" -[[package]] -name = "s2" -version = "0.3.0" -dependencies = [ - "async-stream", - "base16ct", - "clap", - "color-print", - "colored", - "config", - "dirs", - "humantime", - "miette", - "pin-project-lite", - "pin-utils", - "serde", - "serde_json", - "streamstore", - "thiserror 2.0.6", - "tokio", - "tokio-stream", - "toml", - "tracing", - "tracing-subscriber", -] - [[package]] name = "scopeguard" version = "1.2.0" @@ -1645,6 +1619,32 @@ dependencies = [ "uuid", ] +[[package]] +name = "streamstore-cli" +version = "0.3.0" +dependencies = [ + "async-stream", + "base16ct", + "clap", + "color-print", + "colored", + "config", + "dirs", + "humantime", + "miette", + "pin-project-lite", + "pin-utils", + "serde", + "serde_json", + "streamstore", + "thiserror 2.0.6", + "tokio", + "tokio-stream", + "toml", + "tracing", + "tracing-subscriber", +] + [[package]] name = "strsim" version = "0.11.1" diff --git a/Cargo.toml b/Cargo.toml index 007ccfd..ad2f154 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "s2" +name = "streamstore-cli" version = "0.3.0" edition = "2021" license = "Apache-2.0"