summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--main.go6
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