Skip to content

Commit

Permalink
feat: fix publishing single lang monorepo (#146)
Browse files Browse the repository at this point in the history
* feat: fix publishing single lang monorepo

* feat: fix publishing single lang monorepo

* feat: fix publishing single lang monorepo

* feat: fix publishing single lang monorepo
  • Loading branch information
ryan-timothy-albert authored Jul 2, 2024
1 parent f24841e commit dc0e064
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ func Run(g Git, wf *workflow.Workflow) (*RunResult, map[string]string, error) {

// Check for changes
for targetID, target := range wf.Targets {
if environment.SpecifiedTarget() != "" && environment.SpecifiedTarget() != targetID {
continue
}

lang := target.Target
dir, outputDir := getDirAndOutputDir(target)

Expand Down

0 comments on commit dc0e064

Please sign in to comment.