Skip to content
Open
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
2 changes: 1 addition & 1 deletion internal/cli/doctor.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func checkRecommendations(cfg *config.Config) []DoctorCheck {
// so that suggestions are suppressed regardless of whether the user's config
// uses the short or prefixed plugin name.
configured := map[string]bool{}
categoryPrefixes := []string{"provider-", "condition-", "analyzer-", "generator-", "updater-", "hook-"}
categoryPrefixes := []string{"provider-", "condition-", "analyzer-", "generator-", "updater-", "hook-", "packager-", "publisher-"}
registerName := func(raw string) {
name := strings.ToLower(strings.TrimSpace(raw))
if name == "" {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ func legacyPluginBinaryName(uses string) string {
uses = uses[:idx]
}
lower := strings.ToLower(uses)
for _, prefix := range []string{"provider-", "condition-", "analyzer-", "generator-", "updater-", "hook-"} {
for _, prefix := range []string{"provider-", "condition-", "analyzer-", "generator-", "updater-", "hook-", "packager-", "publisher-"} {
if strings.HasPrefix(lower, prefix) {
uses = uses[len(prefix):]
break
Expand Down
2 changes: 1 addition & 1 deletion internal/registry/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type Compatibility struct {
// ("github-actions", "github", "go"), so FindPlugin strips these prefixes as a
// fallback when no exact match is found.
var categoryPrefixes = []string{
"provider-", "condition-", "analyzer-", "generator-", "updater-", "hook-",
"provider-", "condition-", "analyzer-", "generator-", "updater-", "hook-", "packager-", "publisher-",
}

// FindPlugin returns the registry entry for the named plugin.
Expand Down
Loading