Skip to content

Commit

Permalink
Fetch tags when fetching modules during sync (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrohnhofen authored Jan 21, 2022
1 parent e280bf4 commit 9457053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (m GitModule) Fetch() bool {
return false
}

return len(m.runGitCommand("fetch")) > 0
return len(m.runGitCommand("fetch", "--all", "--tags")) > 0
}

// Checkout changes the current module's version to `ref`.
Expand Down
2 changes: 1 addition & 1 deletion util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"gopkg.in/yaml.v2"
)

var DbtVersion = []uint{1, 2, 3}
var DbtVersion = []uint{1, 2, 4}

// ModuleFileName is the name of the file describing each module.
const ModuleFileName = "MODULE"
Expand Down

0 comments on commit 9457053

Please sign in to comment.