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)) }