Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mage/setup/mixins.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ func InstallMixins() error {
for _, mixin := range mixins {
mixin := mixin
errG.Go(func() error {
for i := 0; i < 3; i++ {
if err := porter.EnsureMixin(mixin); err == nil {
return nil
}
}
return porter.EnsureMixin(mixin)
})
}
Expand Down
6 changes: 5 additions & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ func PublishExample(name string) error {
}

fmt.Printf("Publishing example bundle: %s\n", name)
return shx.Command("porter", "publish", registryFlag).CollapseArgs().In(name).RunV()
err = shx.Command("porter", "publish", registryFlag).CollapseArgs().In(name).RunV()
mgx.Must(err)

// Publish with latest tag
return shx.Command("porter", "publish", "--tag", "latest").CollapseArgs().In(name).RunV()
}

// SetupDCO configures your git repository to automatically sign your commits
Expand Down