diff options
| author | Jeff Carr <[email protected]> | 2024-11-29 22:21:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-29 22:21:58 -0600 |
| commit | f7c9af9537fcd0f0e4c1559868b48966acc0c995 (patch) | |
| tree | 5e6175ae707193158ddb329e98a0617ac8df9b0d /doRelease.go | |
| parent | 24e942df16754df52ad6a921a56f66eeca00e3b1 (diff) | |
compiles again. doesn't work
Diffstat (limited to 'doRelease.go')
| -rw-r--r-- | doRelease.go | 3 |
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 |
