summaryrefslogtreecommitdiff
path: root/prepareRelease.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-30 14:02:49 -0500
committerJeff Carr <[email protected]>2025-10-30 14:02:49 -0500
commit5ff57a4aaa914eac08f25c5323bb1bb1f2bcb7be (patch)
tree8ba2929f9440147beabbbdac2a66252d00f491a0 /prepareRelease.go
parent616b7914ffbac9512bcb230a56ee87e84b4100d6 (diff)
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")