summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRelease.go')
-rw-r--r--doRelease.go3
1 files changed, 2 insertions, 1 deletions
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