Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Nov 18, 2024
1 parent 92f9f3e commit 9b631e4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions internal/actions/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,15 @@ func addCurrentBranchTagging(g *git.Git, latestRelease map[string]releases.Langu
}

if target.Output != nil {
outputPath, err := filepath.Rel(".", *target.Output)
if err != nil {
return err
}
outputPath = filepath.Join(environment.GetWorkingDirectory(), outputPath)
fmt.Println("WE HAVE RELEASE INFO")
fmt.Println(filepath.Rel(".", *target.Output))
fmt.Println(outputPath)
fmt.Println(releasePath)
if outputPath, err := filepath.Rel(".", *target.Output); err != nil && outputPath == releasePath {
if outputPath == releasePath {
sources = append(sources, target.Source)
targets = append(targets, name)
}
Expand Down

0 comments on commit 9b631e4

Please sign in to comment.