From c1c33cb19fe6a585271e18d80c9d66524f976acc Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Thu, 5 Sep 2024 10:49:15 +0530 Subject: [PATCH] added to testcase --- pkg/releaser/releaser_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/releaser/releaser_test.go b/pkg/releaser/releaser_test.go index eeacbe69..19877326 100644 --- a/pkg/releaser/releaser_test.go +++ b/pkg/releaser/releaser_test.go @@ -398,6 +398,7 @@ func TestReleaser_CreateReleases(t *testing.T) { Commit: "", PackagesWithIndex: false, MakeReleaseLatest: true, + Prerelease: false, }, }, error: false, @@ -415,6 +416,7 @@ func TestReleaser_CreateReleases(t *testing.T) { Commit: "5e239bd19fbefb9eb0181ecf0c7ef73b8fe2753c", PackagesWithIndex: false, MakeReleaseLatest: true, + Prerelease: true, }, }, error: false, @@ -433,6 +435,7 @@ func TestReleaser_CreateReleases(t *testing.T) { PackagesWithIndex: true, Push: true, MakeReleaseLatest: true, + Prerelease: false, }, }, error: false,