From f2e1aae99e73d4c811ddf35a3e015d652f22cf92 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Fri, 30 Aug 2024 23:15:35 +0000 Subject: [PATCH] fix(agent): correctly set current working directory --- README.md | 6 +++--- flake.nix | 2 +- src/consts.ts | 2 +- src/utils.ts | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 66aa1e4..ec3c2f9 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,8 @@ Requirements: **Latest (CLI):** -- `Mac`: arm64: [fluentci_v0.16.1_aarch64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.1/fluentci_v0.16.1_aarch64-apple-darwin.tar.gz) intel: [fluentci_v0.16.1_x86_64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.1/fluentci_v0.16.1_x86_64-apple-darwin.tar.gz) -- `Linux`: intel: [fluentci_v0.16.1_x86_64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.1/fluentci_v0.16.1_x86_64-unknown-linux-gnu.tar.gz) arm64: [fluentci_v0.16.1_aarch64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.1/fluentci_v0.16.1_aarch64-unknown-linux-gnu.tar.gz) +- `Mac`: arm64: [fluentci_v0.16.2_aarch64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.2/fluentci_v0.16.2_aarch64-apple-darwin.tar.gz) intel: [fluentci_v0.16.2_x86_64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.2/fluentci_v0.16.2_x86_64-apple-darwin.tar.gz) +- `Linux`: intel: [fluentci_v0.16.2_x86_64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.2/fluentci_v0.16.2_x86_64-unknown-linux-gnu.tar.gz) arm64: [fluentci_v0.16.2_aarch64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.16.2/fluentci_v0.16.2_aarch64-unknown-linux-gnu.tar.gz) ## ✨ Quick Start @@ -110,7 +110,7 @@ fluentci studio fluentci --help Usage: fluentci [pipeline] [jobs...] -Version: 0.16.1 +Version: 0.16.2 Description: diff --git a/flake.nix b/flake.nix index 2e3b17e..010a645 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,7 @@ packages.default = pkgs.deno2nix.mkExecutable { pname = "fluentci"; - version = "0.16.1"; + version = "0.16.2"; src = ./.; lockfile = "./deno.lock"; diff --git a/src/consts.ts b/src/consts.ts index 16ba293..d52fd15 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -1,5 +1,5 @@ import { dir } from "../deps.ts"; -export const VERSION = "0.16.1"; +export const VERSION = "0.16.2"; export const BASE_URL = "https://api.fluentci.io/v1"; diff --git a/src/utils.ts b/src/utils.ts index 2d6e0d2..729efb0 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -517,6 +517,7 @@ export async function stopServices(cwd: string) { args: ["-c", `fluentci run --wasm ${service} stop`], stdout: "inherit", stderr: "inherit", + cwd }).spawn().status; if (!status.success) {