summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 22:21:58 -0600
committerJeff Carr <[email protected]>2024-11-29 22:21:58 -0600
commitf7c9af9537fcd0f0e4c1559868b48966acc0c995 (patch)
tree5e6175ae707193158ddb329e98a0617ac8df9b0d /doRelease.go
parent24e942df16754df52ad6a921a56f66eeca00e3b1 (diff)
compiles again. doesn't work
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