From 4beaf4ef0841ece7fc6dc182bec9f13673d687fa Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Fri, 8 Dec 2023 07:18:35 +0000 Subject: [PATCH 1/2] fix issue with search command --- src/cmd/search.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd/search.ts b/src/cmd/search.ts index d93e9d2..9e3de49 100644 --- a/src/cmd/search.ts +++ b/src/cmd/search.ts @@ -25,9 +25,9 @@ async function search(query: string, options: { limit: number }) { for (const item of results) { console.log( - `* ${cyan(item.name)}${gray("@")}${gray(item.version)} - ${ - item.description - }` + `* ${cyan(item.name)}${gray("@")}${gray( + item.version || item.default_branch + )} - ${item.description}` ); } } From 70db2d1d4ff6b4b2da4e569d06d2b31d5e4d96d8 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Fri, 8 Dec 2023 07:19:21 +0000 Subject: [PATCH 2/2] bump version code --- README.md | 2 +- flake.nix | 2 +- main.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ccee1bf..f9dd080 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ fluentci # Run the pipeline fluentci --help Usage: fluentci [pipeline] [jobs...] -Version: 0.9.0 +Version: 0.9.1 Description: diff --git a/flake.nix b/flake.nix index bb0eff8..d403bcb 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ packages.default = pkgs.deno2nix.mkExecutable { pname = "fluentci"; - version = "0.8.1"; + version = "0.9.1"; src = ./.; lockfile = "./deno.lock"; diff --git a/main.ts b/main.ts index 06dbaa6..e2a4c72 100644 --- a/main.ts +++ b/main.ts @@ -18,7 +18,7 @@ import { brightGreen } from "./deps.ts"; export async function main() { await new Command() .name("fluentci") - .version("0.9.0") + .version("0.9.1") .description( ` .