Skip to content

Commit

Permalink
build(go): 🐛 continue on errors as they may not be fatal (see github.…
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed May 26, 2024
1 parent 761950f commit 0d8d64b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/magefiles/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ func (Package) Nfpm(arch string) error {
// FyneCross builds packages using fyne-cross.
func (Package) FyneCross(arch string) error {
if !FoundOrInstalled("fyne-cross", "github.com/fyne-io/fyne-cross@latest") {
return errors.New("unable to install nfpm")
return errors.New("unable to install fyne-cross")
}

if err := fyneCrossCmd("-arch", arch); err != nil {
return err
slog.Warn("fyne-cross finished but with errors. Continuing anyway...", "error", err.Error())
}
return sh.Copy(
"fyne-cross/dist/linux-"+arch+"/go-hass-agent-"+arch+".tar.xz",
Expand Down

0 comments on commit 0d8d64b

Please sign in to comment.