Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
better installation urls
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-crumbaugh committed Feb 8, 2024
1 parent 7623f78 commit 766f6df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 766f6df

Please sign in to comment.