[CLI] sea-orm-cli depends on codegen of the same version (#1299)
This commit is contained in:
parent
8982d88774
commit
33a665c683
@ -11,7 +11,7 @@ sleep 1
|
|||||||
# Bump `sea-orm-cli` version
|
# Bump `sea-orm-cli` version
|
||||||
cd sea-orm-cli
|
cd sea-orm-cli
|
||||||
sed -i 's/^version.*$/version = "'$1'"/' Cargo.toml
|
sed -i 's/^version.*$/version = "'$1'"/' Cargo.toml
|
||||||
sed -i 's/^sea-orm-codegen [^,]*,/sea-orm-codegen = { version = "'$1'",/' Cargo.toml
|
sed -i 's/^sea-orm-codegen [^,]*,/sea-orm-codegen = { version = "\='$1'",/' Cargo.toml
|
||||||
git commit -am "sea-orm-cli $1"
|
git commit -am "sea-orm-cli $1"
|
||||||
cd ..
|
cd ..
|
||||||
sleep 1
|
sleep 1
|
||||||
|
@ -34,7 +34,7 @@ required-features = ["cli", "codegen"]
|
|||||||
clap = { version = "3.2", default-features = false, features = ["std", "env", "derive"], optional = true }
|
clap = { version = "3.2", default-features = false, features = ["std", "env", "derive"], optional = true }
|
||||||
dotenvy = { version = "0.15", default-features = false, optional = true }
|
dotenvy = { version = "0.15", default-features = false, optional = true }
|
||||||
async-std = { version = "1.9", default-features = false, features = ["attributes", "tokio1"], optional = true }
|
async-std = { version = "1.9", default-features = false, features = ["attributes", "tokio1"], optional = true }
|
||||||
sea-orm-codegen = { version = "0.10.3", path = "../sea-orm-codegen", default-features = false, optional = true }
|
sea-orm-codegen = { version = "=0.10.3", path = "../sea-orm-codegen", default-features = false, optional = true }
|
||||||
sea-schema = { version = "0.10.2" }
|
sea-schema = { version = "0.10.2" }
|
||||||
sqlx = { version = "0.6", default-features = false, features = ["mysql", "postgres"], optional = true }
|
sqlx = { version = "0.6", default-features = false, features = ["mysql", "postgres"], optional = true }
|
||||||
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
|
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user