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 3c2a002 commit bb298a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/actions/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ func Release() error {
return err
}

fmt.Println("WE HAVE API KEY")
if os.Getenv("SPEAKEASY_API_KEY") != "" {
fmt.Println("WE HAVE DON'T API KEY")
if err = addCurrentBranchTagging(g, latestRelease.Languages); err != nil {
logging.Debug("failed to tag registry images: %v", err)
}
Expand Down Expand Up @@ -197,6 +199,10 @@ func addCurrentBranchTagging(g *git.Git, latestRelease map[string]releases.Langu
}
}

fmt.Println("BRANCH: ", branch)
fmt.Println("SOURCES: ", sources)
fmt.Println("TARGETS: ", targets)

if len(sources) > 0 && len(targets) > 0 && branch != "" {
return cli.Tag([]string{branch}, sources, targets)
}
Expand Down

0 comments on commit bb298a5

Please sign in to comment.