We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 482fad3 commit 20eff0eCopy full SHA for 20eff0e
cmd/version.go
@@ -32,7 +32,7 @@ func NewVersionCmd() *cobra.Command {
32
Long: `The current version of the project.
33
This projects follows the semantic versioning standard.`,
34
RunE: func(cmd *cobra.Command, args []string) error {
35
- fmt.Fprintln(cmd.OutOrStdout(), "v0.18.0")
+ fmt.Fprintln(cmd.OutOrStdout(), "v0.18.1-rc1")
36
return nil
37
},
38
}
cmd/version_test.go
@@ -21,7 +21,7 @@ func TestVersionCmd(t *testing.T) {
21
t.Fatal(err)
22
23
24
- if !strings.Contains(string(out), "v0.18.0") {
25
- t.Fatalf("expected \"%s\" got \"%s\"", "v0.18.0", string(out))
+ if !strings.Contains(string(out), "v0.18.1-rc1") {
+ t.Fatalf("expected \"%s\" got \"%s\"", "v0.18.1-rc1", string(out))
26
27
0 commit comments