From f17ccce7805a8b6cde4c4fe153746cd3c9f8fa1e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 21 Aug 2025 14:23:01 -0500 Subject: [PATCH] attempt to fix URL --- Makefile | 2 +- doCommit.go | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 48b4d69..6d9276f 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ vet: @echo this go binary package builds okay verbose: goimports vet plugin - GO111MODULE=off go build -v -x \ + GO111MODULE=off go install -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" build: goimports vet plugin diff --git a/doCommit.go b/doCommit.go index d7b9196..452fcd4 100644 --- a/doCommit.go +++ b/doCommit.go @@ -75,6 +75,11 @@ func doCommit() { } _, err := me.forge.SubmitDevelPatchSet("forge auto commit") + if err != nil { + // TRY different URL + os.Setenv("FORGE_URL", "https://forge.grid.wit.com/") + } + _, err = me.forge.SubmitDevelPatchSet("forge auto commit") if err != nil { badExit(err) }