From ab0a85a4dec75a058a62fc214b2fac3eb940b512 Mon Sep 17 00:00:00 2001 From: tab Date: Fri, 1 Nov 2024 10:28:52 +0200 Subject: [PATCH] fix(version): Update version from 0.3.0 to 0.4.0 The version constant was updated in the cli package and corresponding tests were adjusted. --- cmd/main_test.go | 2 +- internal/cli/cli.go | 2 +- internal/cli/cli_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/main_test.go b/cmd/main_test.go index 43c3b37..a0aa405 100644 --- a/cmd/main_test.go +++ b/cmd/main_test.go @@ -26,7 +26,7 @@ func TestMainRun(t *testing.T) { { name: "Version command", args: []string{"--version"}, - output: "cmt 0.3.0\n", + output: "cmt 0.4.0\n", }, } diff --git a/internal/cli/cli.go b/internal/cli/cli.go index fb38596..71dcc29 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -4,7 +4,7 @@ import ( "fmt" ) -const VERSION = "0.3.0" +const VERSION = "0.4.0" func Help() { fmt.Println("Usage:") diff --git a/internal/cli/cli_test.go b/internal/cli/cli_test.go index 2041d42..5ad7dcb 100644 --- a/internal/cli/cli_test.go +++ b/internal/cli/cli_test.go @@ -49,7 +49,7 @@ func TestVersion(t *testing.T) { }{ { name: "Version", - output: "cmt 0.3.0\n", + output: "cmt 0.4.0\n", }, }