From dc0e0649032b64264003d5160a55631b5ba5774e Mon Sep 17 00:00:00 2001 From: Ryan Albert <42415738+ryan-timothy-albert@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:39:07 -0700 Subject: [PATCH] feat: fix publishing single lang monorepo (#146) * feat: fix publishing single lang monorepo * feat: fix publishing single lang monorepo * feat: fix publishing single lang monorepo * feat: fix publishing single lang monorepo --- internal/run/run.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/run/run.go b/internal/run/run.go index 1adf70d7..7e52aacf 100644 --- a/internal/run/run.go +++ b/internal/run/run.go @@ -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)