Skip to content

Commit

Permalink
build(version): bump to version v0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Aug 2, 2023
1 parent 66bff83 commit 1e83549
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func NewVersionCmd() *cobra.Command {
Long: `The current version of the project.
This projects follows the semantic versioning standard.`,
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Fprintln(cmd.OutOrStdout(), "v0.21.0-rc2")
fmt.Fprintln(cmd.OutOrStdout(), "v0.21.0")
return nil
},
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestVersionCmd(t *testing.T) {
t.Fatal(err)
}

if !strings.Contains(string(out), "v0.21.0-rc2") {
t.Fatalf("expected \"%s\" got \"%s\"", "v0.21.0-rc2", string(out))
if !strings.Contains(string(out), "v0.21.0") {
t.Fatalf("expected \"%s\" got \"%s\"", "v0.21.0", string(out))
}
}

0 comments on commit 1e83549

Please sign in to comment.