@@ -64,7 +64,7 @@ func (h *SourceHelper) DownloadAndUnpackSource(version string, unpackTargetDir s
6464 return "" , err
6565 }
6666 if ! artifactIsCached {
67- fmt .Fprintf (out , "Downloading generator source for version: %s \n " , version )
67+ fmt .Fprintf (out , "Downloading deployKF generator source version '%s' from github repo '%s/%s' \n " , version , h . GithubOwner , h . GithubRepo )
6868
6969 // get the GitHub release for the specified version
7070 githubRelease , err := h .getReleaseByVersion (version )
@@ -81,7 +81,7 @@ func (h *SourceHelper) DownloadAndUnpackSource(version string, unpackTargetDir s
8181 }
8282 }
8383 if githubAsset == nil {
84- return "" , fmt .Errorf ("generator artifact '%s' not found in release %s " , artifactName , * githubRelease .TagName )
84+ return "" , fmt .Errorf ("generator artifact '%s' not found in release '%s' " , artifactName , * githubRelease .TagName )
8585 }
8686
8787 // download the artifact
@@ -92,7 +92,7 @@ func (h *SourceHelper) DownloadAndUnpackSource(version string, unpackTargetDir s
9292 }
9393
9494 // unzip the artifact
95- fmt .Fprintf (out , "Using cached source: %s\n " , artifactPath )
95+ fmt .Fprintf (out , "Using cached deployKF generator source: %s\n " , artifactPath )
9696 err = UnzipFile (artifactPath , unpackTargetDir , "generator" )
9797 if err != nil {
9898 return "" , err
@@ -161,7 +161,7 @@ func (h *SourceHelper) getReleaseByVersion(version string) (*github.RepositoryRe
161161 release , resp , err := client .Repositories .GetReleaseByTag (context .Background (), h .GithubOwner , h .GithubRepo , tagName )
162162 if err != nil {
163163 if resp .StatusCode == http .StatusNotFound {
164- return nil , fmt .Errorf ("github release not found with tag: %s " , tagName )
164+ return nil , fmt .Errorf ("no github release found with tag '%s' " , tagName )
165165 }
166166 return nil , err
167167 }
0 commit comments