diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 01:48:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 01:48:17 -0600 |
| commit | 57e38ee8ce56ba494c049a1dd10abb6c72fb1ca2 (patch) | |
| tree | 791527a144869d0f24532bad7b9127ffa31419af /branches.go | |
| parent | 0bd0af48459479531fcce2d795587fce1fe6155d (diff) | |
just name fixups
Diffstat (limited to 'branches.go')
| -rw-r--r-- | branches.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/branches.go b/branches.go index 1c923dd..e6d0570 100644 --- a/branches.go +++ b/branches.go @@ -114,7 +114,7 @@ func (repo *Repo) GetHashName(h string) (string, error) { h = strings.TrimSpace(h) log.Info("GetHashName() is looking for", repo.GetGoPath(), h) cmd := []string{"git", "describe", "--tags", h} - r, err := repo.RunStrictNew(cmd) + r, err := repo.RunStrict(cmd) if err != nil { return "", err } @@ -128,7 +128,7 @@ func (repo *Repo) GetHashName(h string) (string, error) { func (repo *Repo) GetTagHash(t string) string { // git rev-list -n 1 v0.0.66 cmd := []string{"git", "rev-list", "-n", "1", t} - result, _ := repo.RunStrictNew(cmd) + result, _ := repo.RunStrict(cmd) // log.Info("getLastTagVersion()", result.Stdout) if len(result.Stdout) == 0 { |
