From 5e3ac73e9240eba26404f3510fa79d62c33885bb Mon Sep 17 00:00:00 2001 From: tab Date: Sun, 13 Oct 2024 22:49:48 +0300 Subject: [PATCH] chore(flags): update version to 0.2.0 Updated the VERSION constant in flags.go and adjusted the expected output in flags_test.go to reflect the new version. --- internal/flags/flags.go | 2 +- internal/flags/flags_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/flags/flags.go b/internal/flags/flags.go index f63f6a0..ae9879e 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -7,7 +7,7 @@ import ( "os" ) -const VERSION = "0.1.0" +const VERSION = "0.2.0" type Flags struct { Version bool diff --git a/internal/flags/flags_test.go b/internal/flags/flags_test.go index cc88207..4deb69c 100644 --- a/internal/flags/flags_test.go +++ b/internal/flags/flags_test.go @@ -95,7 +95,7 @@ func TestPrintVersion(t *testing.T) { { name: "Print version", args: []string{"cmd", "--version"}, - expected: "cmt 0.1.0\n", + expected: "cmt 0.2.0\n", }, }