Skip to content

Commit

Permalink
Merge pull request #19 from launchrctl/git_tag_fetch
Browse files Browse the repository at this point in the history
fix tag typo
  • Loading branch information
davidferlay authored Dec 7, 2023
2 parents c24be29 + 0da9aac commit df339c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (g *gitDownloader) Download(pkg *Package, targetDir string, k keyring.Keyri
if pkg.GetRef() != "" {
options.ReferenceName = plumbing.NewBranchReferenceName(pkg.GetRef())
} else if pkg.GetTag() != "" {
options.ReferenceName = plumbing.NewTagReferenceName(pkg.GetRef())
options.ReferenceName = plumbing.NewTagReferenceName(pkg.GetTag())
}

ci, err := getPassword(k, url)
Expand Down

0 comments on commit df339c0

Please sign in to comment.