diff --git a/internal/run/run.go b/internal/run/run.go index 8208c9fb..3bcbc063 100644 --- a/internal/run/run.go +++ b/internal/run/run.go @@ -93,8 +93,12 @@ func Run(g Git) (*GenerationInfo, map[string]string, error) { published = true // Treat as published if we don't have an installation URL } - repoSubdirectories[targetID] = filepath.Clean(dir) - installationURLs[targetID] = installationURL + if installationURL != "" { + installationURLs[targetID] = installationURL + } + if dir != "." { + repoSubdirectories[targetID] = filepath.Clean(dir) + } } // Run the workflow