Wrap error
This commit is contained in:
parent
960017a4f1
commit
8202471910
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ func createRun(opts *CreateOptions) error {
|
|||
if opts.FailOnNoCommits {
|
||||
isNew, err := isNewRelease(httpClient, baseRepo)
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("failed to check whether there were new commits since last release: %v", err)
|
||||
}
|
||||
if !isNew {
|
||||
return fmt.Errorf("no new commits since the last release")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue