From 096150d8dada21d26d20e4c2282f03c10deb8933 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 14 Feb 2024 13:44:24 -0600 Subject: this needs to exist for the guireleaser to function --- Makefile | 3 +-- main.go | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index adba421..2477619 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -all: build - reset +all: ./guireleaser stderr: build diff --git a/main.go b/main.go index c9edfd3..fb80c08 100644 --- a/main.go +++ b/main.go @@ -53,6 +53,12 @@ func main() { os.Exit(0) } + gosum := filepath.Join(homeDir, "go/src/go.wit.com/apps/guireleaser/go.sum") + if ! shell.Exists(gosum) { + log.Info("go.sum must exist here") + os.Exit(0) + } + repoworld() me.releaseReasonS = releaseReasonS -- cgit v1.2.3