From db000508ec812fb6b4e32f2fcfe89753e0081db3 Mon Sep 17 00:00:00 2001 From: pyranota <92104930+pyranota@users.noreply.github.com> Date: Tue, 24 Jun 2025 16:36:40 +0200 Subject: [PATCH] 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` --- rust-client/Cargo.lock | 4 ++-- rust-client/Cargo.proto.toml | 2 +- rust-client/dev.nu | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/rust-client/Cargo.lock b/rust-client/Cargo.lock index 40bdb9cd82..ef209c12eb 100644 --- a/rust-client/Cargo.lock +++ b/rust-client/Cargo.lock @@ -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", diff --git a/rust-client/Cargo.proto.toml b/rust-client/Cargo.proto.toml index 2be29941f6..265d30484b 100644 --- a/rust-client/Cargo.proto.toml +++ b/rust-client/Cargo.proto.toml @@ -20,7 +20,7 @@ uuid = "1" [dependencies.windmill-api] path = "./windmill_api" -version = "1.496.3" +version = "" [dependencies.futures] version = "0.3" diff --git a/rust-client/dev.nu b/rust-client/dev.nu index 951489ac4e..580bfcb65c 100755 --- a/rust-client/dev.nu +++ b/rust-client/dev.nu @@ -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