summaryrefslogtreecommitdiff
path: root/currentVersions.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-12 14:53:39 -0500
committerJeff Carr <[email protected]>2025-09-12 14:53:39 -0500
commit6654dbb4102ba0f725f7d82b5f26a7288a68699d (patch)
treec51a1b9e7c371832476271026665cb49309bdbc4 /currentVersions.go
parent62e5fc396c560d47a351194da04ccec2d7b4f220 (diff)
tag handling is still badv0.0.125
Diffstat (limited to 'currentVersions.go')
-rw-r--r--currentVersions.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/currentVersions.go b/currentVersions.go
index 682d582..fdedb74 100644
--- a/currentVersions.go
+++ b/currentVersions.go
@@ -144,8 +144,7 @@ func (repo *Repo) gitVersionByName(name string) (string, error) {
return strings.TrimSpace(output), nil
}
if !repo.IsBranch(name) {
- // tag does not exist
- // log.Log(WARN, "LocalTagExists()", name, "did not exist")
+ // branch does not exist
return "", errors.New("gitDescribeByName() git fatal: Not a valid object name: " + name)
}
cmd := []string{"git", "describe", "--tags", name}