summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-23 22:47:39 -0600
committerJeff Carr <[email protected]>2024-01-23 22:47:39 -0600
commit7c82f918aa8da546f038ed5cf4c682f5787a191f (patch)
tree62b0725a7b96ee2547fbfa24b81c0d0dbf15ebe3 /git.go
parentedf74e160e047e3bad86f7cf52032c12cf0813f0 (diff)
detect go.sum is clean
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'git.go')
-rw-r--r--git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.go b/git.go
index a3b4023..cebdbd2 100644
--- a/git.go
+++ b/git.go
@@ -48,7 +48,7 @@ func (rs *RepoStatus) getCurrentBranchVersion() string {
func (rs *RepoStatus) getLastTagVersion() string {
out := run(rs.realPath.String(), "git", "rev-list --tags --max-count=1")
log.Log(INFO, "getLastTagVersion()", out)
- rs.lasttagrev = out
+ // rs.lasttagrev = out
lastreal := "describe --tags " + out
// out = run(r.path, "git", "describe --tags c871d5ecf051a7dc4e3a77157cdbc0a457eb9ae1")