From f7c9af9537fcd0f0e4c1559868b48966acc0c995 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 29 Nov 2024 22:21:58 -0600 Subject: compiles again. doesn't work --- doRelease.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doRelease.go') diff --git a/doRelease.go b/doRelease.go index e9eef6a..c3affc2 100644 --- a/doRelease.go +++ b/doRelease.go @@ -34,6 +34,7 @@ func doRelease() bool { log.Info("go.mod disappeared. need to run go mod init and go mod tidy here:", pwd) shell.RunRealtime([]string{"go", "mod", "init"}) shell.RunRealtime([]string{"go", "mod", "tidy"}) + shell.RunRealtime([]string{"go", "mod", "edit", "-go=1.20"}) } curName := me.current.Status.GetCurrentBranchName() @@ -189,7 +190,7 @@ func doPublishVersion() bool { log.Info("go get must be run from somewhere else other than guireleaser") log.Info("chdir to autotypist if it exists") if shell.Exists("/home/jcarr/go/src/go.wit.com/apps/autotypist") { - os.Chdir("/home/jcarr/go/src/go.wit.com/apps/autotypist") + os.Chdir("/home/jcarr/go/src/go.wit.com/apps/autotypist") } else { log.Info("need to chdir somewhere with go.sum & go.mod") return false -- cgit v1.2.3