diff options
| author | Jeff Carr <[email protected]> | 2025-01-17 13:21:03 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-17 13:21:03 -0600 |
| commit | 803f0cf98ee1fc01339c4e0b5f9545a5d90a5a2f (patch) | |
| tree | 37c281ba9af90ff9e5e60bfc169ae20016d273cb | |
| parent | 660255c8a3e3dba84b17ccc93cad0602e779f23d (diff) | |
add a way to track a tagv0.0.54
| -rw-r--r-- | repo.proto | 1 | ||||
| -rw-r--r-- | shell.go | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ message Repo { // `autogenpb:marshal` `autogenpb:2nomutex` string userVersion = 21; // repeated string dirtyList = 22; // store the list from git status --porcelain string state = 23; // status or state. useful for building tooling + GitTag currentTag = 24; // used to examine repo branches } message Repos { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:2nomutex` @@ -80,7 +80,7 @@ func (repo *Repo) RunStrictNew(cmd []string) (*cmd.Status, error) { log.Warn(cmd, "failed with", result.Exit) return &result, errors.New(fmt.Sprint(cmd, "failed with", result.Exit)) } - return nil, nil + return &result, nil } func (repo *Repo) Exists(filename string) bool { |
