make wmill reference correct windmill-api version (#6041)
* Use regex to split input to python import parser * gitignore Cargo.toml * gitignore cargo.toml * Restore cargo.lock * fix(rust): make wmill reference correct windmill-api `wmill` crate of version `x` should reference `windmill-api` of the same version `x`
This commit is contained in:
4
rust-client/Cargo.lock
generated
4
rust-client/Cargo.lock
generated
@@ -1569,7 +1569,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "windmill-api"
|
||||
version = "1.499.0"
|
||||
version = "1.501.0"
|
||||
dependencies = [
|
||||
"reqwest",
|
||||
"serde",
|
||||
@@ -1732,7 +1732,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "wmill"
|
||||
version = "1.499.0"
|
||||
version = "1.501.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"futures",
|
||||
|
||||
@@ -20,7 +20,7 @@ uuid = "1"
|
||||
|
||||
[dependencies.windmill-api]
|
||||
path = "./windmill_api"
|
||||
version = "1.496.3"
|
||||
version = "<VERSION>"
|
||||
|
||||
[dependencies.futures]
|
||||
version = "0.3"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#! /usr/bin/env nu
|
||||
|
||||
let version = open ../version.txt;
|
||||
let version = open ../version.txt | str trim;
|
||||
|
||||
def main [ --publish(-p) --check(-c) --test(-t) ] {
|
||||
mkdir api/a/
|
||||
@@ -16,6 +16,7 @@ def main [ --publish(-p) --check(-c) --test(-t) ] {
|
||||
# Patch Cargo.toml
|
||||
open Cargo.proto.toml
|
||||
| update package.version $version
|
||||
| update dependencies.windmill-api.version $version
|
||||
| save -f Cargo.toml
|
||||
|
||||
# Patch windmill_api/Cargo.toml
|
||||
|
||||
Reference in New Issue
Block a user