summaryrefslogtreecommitdiff
path: root/prepareRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'prepareRelease.go')
-rw-r--r--prepareRelease.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/prepareRelease.go b/prepareRelease.go
index 4488935..422f9f5 100644
--- a/prepareRelease.go
+++ b/prepareRelease.go
@@ -260,6 +260,9 @@ func alreadyDone(repo *gitpb.Repo) bool {
return false
}
+// checks the published go.* files in ~/go/pkg/mod
+// checks the go.* files currently on disk in ~/go/src
+// TODO: compare these to each other // TODO: this is probably the missing piece to this whole thing not working right yet
func checkPublishedGodeps(repo *gitpb.Repo) error {
godepsOld, err := repo.GoSumFromPkgDir()
if err != nil {
@@ -276,7 +279,8 @@ func checkPublishedGodeps(repo *gitpb.Repo) error {
}
if godepsOld == nil {
if godepsNew == nil {
- log.Printf("%s published godeps == nil && real == nil\n", repo.GetGoPath())
+ // log.Printf("%s published godeps == nil && real == nil\n", repo.GetGoPath())
+ // is primative. probably very certainly so. this check seems to work
return nil
} else {
return fmt.Errorf("published godeps == nil vs real != nil")