fix: better error messages for release failures
See coop-cloud/organising#313
This commit is contained in:
parent
c71efb46ba
commit
a0d7a76f9d
@ -393,15 +393,15 @@ func createReleaseFromPreviousTag(tagString, mainAppVersion string, recipe recip
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := commitRelease(recipe, tagString); err != nil {
|
if err := commitRelease(recipe, tagString); err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatalf("failed to commit changes: %s", err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := tagRelease(tagString, repo); err != nil {
|
if err := tagRelease(tagString, repo); err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatalf("failed to tag release: %s", err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := pushRelease(recipe, tagString); err != nil {
|
if err := pushRelease(recipe, tagString); err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatalf("failed to publish new release: %s", err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user