diff options
Diffstat (limited to 'doRelease.go')
| -rw-r--r-- | doRelease.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doRelease.go b/doRelease.go index 4a8c42f..91b3449 100644 --- a/doRelease.go +++ b/doRelease.go @@ -62,7 +62,7 @@ func doRelease() bool { var all [][]string all = append(all, []string{"git", "add", "-f", "go.mod"}) - if me.current.Status.IsPrimitive() { + if ok, _ := check.IsPrimitive(); ok { // don't add go.sum here. TODO: check for go.sum file and fail } else { all = append(all, []string{"git", "add", "-f", "go.sum"}) |
