From 824e2aa98ade96a7eaf01ebf029c30f161d50382 Mon Sep 17 00:00:00 2001 From: Keming Date: Thu, 14 Nov 2024 16:40:47 +0800 Subject: [PATCH] fix sh Signed-off-by: Keming --- Cargo.lock | 2 +- Cargo.toml | 2 +- tools/schema.sh | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0a95bb2..5fe8ddb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1516,7 +1516,7 @@ dependencies = [ [[package]] name = "vchord" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base", "detect", diff --git a/Cargo.toml b/Cargo.toml index ee8c3fe..000def6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vchord" -version = "0.0.0" +version = "0.1.0" edition = "2021" [lib] diff --git a/tools/schema.sh b/tools/schema.sh index 2c430b8..b05a13f 100755 --- a/tools/schema.sh +++ b/tools/schema.sh @@ -6,6 +6,8 @@ if [[ " $@ " =~ --target' '([^ ]+) ]]; then DIR="./target/$TARGET/release" elif [[ " $@ " =~ " --profile opt " ]]; then DIR="./target/$TARGET/opt" + elif [[ " $@ " =~ " --profile release " ]]; then + DIR="./target/$TARGET/release" else DIR="./target/$TARGET/debug" fi @@ -14,6 +16,8 @@ else DIR="./target/release" elif [[ " $@ " =~ " --profile opt " ]]; then DIR="./target/opt" + elif [[ " $@ " =~ " --profile release " ]]; then + DIR="./target/release" else DIR="./target/debug" fi