Skip to content

Commit

Permalink
Support environments.prod.bundle.git
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkats-db committed Jul 24, 2023
1 parent 77580a2 commit 53ba4cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bundle/config/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ func (r *Root) MergeEnvironment(env *Environment) error {

if env.Bundle != nil {
err = mergo.MergeWithOverwrite(&r.Bundle, env.Bundle)
if env.Bundle.Git.Branch != "" {
r.Bundle.Git.Inferred = false
}
if err != nil {
return err
}
Expand Down

0 comments on commit 53ba4cf

Please sign in to comment.