diff options
| author | Jeff Carr <[email protected]> | 2024-11-29 23:32:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-29 23:32:19 -0600 |
| commit | 1af05cc0ef693ea429a078a804e319cc037e5342 (patch) | |
| tree | 9945c5a2960254b128fa796f994b82503a67b487 | |
| parent | 3e45924aa2876484a8a0e2470b79604699fa562d (diff) | |
publish every *.pb.go file
| -rw-r--r-- | gitTag.query.go | 2 | ||||
| -rw-r--r-- | repo.protofiles.go | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gitTag.query.go b/gitTag.query.go index 750d501..2c902ad 100644 --- a/gitTag.query.go +++ b/gitTag.query.go @@ -14,7 +14,7 @@ import ( func (repo *Repo) GetLastTag() string { cmd := []string{"git", "rev-list", "--tags", "--max-count=1"} result := repo.RunQuiet(cmd) - log.Info("getLastTagVersion()", result.Stdout) + // log.Info("getLastTagVersion()", result.Stdout) if len(result.Stdout) != 1 { log.Log(GITPBWARN, "git LastTag() error:", result.Stdout) diff --git a/repo.protofiles.go b/repo.protofiles.go index 2fadc9c..2087830 100644 --- a/repo.protofiles.go +++ b/repo.protofiles.go @@ -50,7 +50,8 @@ func (repo *Repo) IsProtobuf() (bool, []string, error) { var allc []string for _, testf := range fullc { if strings.HasSuffix(testf, ".pb.go") { - allc = append(allc, testf) + basef := filepath.Base(testf) + allc = append(allc, basef) // no, not the 3.5" floppy disks } } return anyfound, allc, err |
