From f5a44b38ff55409b64182634a925748069dbac97 Mon Sep 17 00:00:00 2001 From: karolos lykos Date: Tue, 6 Sep 2022 20:07:49 +0300 Subject: [PATCH] mod: new release --- cmd/version.go | 2 +- cmd/version_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/version.go b/cmd/version.go index d162741..1933609 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -13,7 +13,7 @@ func NewVersionCmd() *cobra.Command { Args: cobra.NoArgs, SilenceUsage: true, Run: func(cmd *cobra.Command, args []string) { - fmt.Fprintf(cmd.OutOrStdout(), "%s\n", "v0.0.1") + fmt.Fprintf(cmd.OutOrStdout(), "%s\n", "v0.0.3") }, } } diff --git a/cmd/version_test.go b/cmd/version_test.go index 0e13e7e..1e50aa3 100644 --- a/cmd/version_test.go +++ b/cmd/version_test.go @@ -26,5 +26,5 @@ func TestVersionCommand(t *testing.T) { out, err := ioutil.ReadAll(b) require.NoError(t, err) - assert.Equal(t, fmt.Sprintln(command.Version), string(out)) + assert.Equal(t, fmt.Sprintln("v0.0.3"), string(out)) }