Skip to content

Commit

Permalink
fix: remove concatenated v in semver (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarededwards authored Apr 12, 2023
1 parent cbed3e2 commit 30e6690
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/gitClient/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ import (
)

func Clone(gitRef, repoLocalPath, repoURL string) (*git.Repository, error) {

// kubefirst tags do not contain a `v` prefix, to use the library requires the v to be valid
isSemVer := semver.IsValid("v" + gitRef)
isSemVer := semver.IsValid(gitRef)

var refName plumbing.ReferenceName

Expand Down

0 comments on commit 30e6690

Please sign in to comment.