@@ -34,9 +34,9 @@ func newGitHubClient() *github.Client {
3434 mock .WithRequestMatch (
3535 mock .GetReposReleasesByOwnerByRepo ,
3636 []* github.RepositoryRelease {
37- {Draft : github .Bool (false ), TagName : github .String ("v1.0.0" )},
38- {Draft : github .Bool (false ), TagName : github .String ("v1.0.1" )},
39- {Draft : github .Bool (true ), TagName : github .String ("v2.0.0-beta" )},
37+ {Draft : github .Bool (false ), TagName : github .String ("v1.0.0" ), Assets : [] * github. ReleaseAsset {{}} },
38+ {Draft : github .Bool (false ), TagName : github .String ("v1.0.1" ), Assets : [] * github. ReleaseAsset {{}} },
39+ {Draft : github .Bool (true ), TagName : github .String ("v2.0.0-beta" ), Assets : [] * github. ReleaseAsset {{}} },
4040 {
4141 Draft : github .Bool (false ),
4242 TagName : github .String ("v2.0.0" ),
@@ -57,9 +57,11 @@ func newGitHubClient() *github.Client {
5757 mock .GetReposReleasesLatestByOwnerByRepo ,
5858 & github.RepositoryRelease {
5959 TagName : github .String ("v2.0.0" ),
60+ Assets : []* github.ReleaseAsset {{}},
6061 },
6162 & github.RepositoryRelease {
6263 TagName : github .String ("v3.0.0" ),
64+ Assets : []* github.ReleaseAsset {{}},
6365 },
6466 ),
6567 mock .WithRequestMatch (
0 commit comments