summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--doCommit.go5
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 171813f..0cb1aaf 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ build: goimports vet plugin
install: goimports vet plugin
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
- cp -f ~/go/bin/forge ~/go/bin/last.forge # this is a hack so that go-deb can build a .deb file for forge
+ cp -f ~/go/bin/forge ~/go/bin/last.forge # this is a hack so that go-deb can build a .deb file for forge # TODO: remove this
install-raw: goimports vet plugin
go install \
diff --git a/doCommit.go b/doCommit.go
index 3c4c7db..d7b9196 100644
--- a/doCommit.go
+++ b/doCommit.go
@@ -73,6 +73,11 @@ func doCommit() {
if err := shell.ExecCheck([]string{"git", "commit", "--all"}); err != nil {
badExit(err)
}
+
+ _, err := me.forge.SubmitDevelPatchSet("forge auto commit")
+ if err != nil {
+ badExit(err)
+ }
log.Info("git commit ok. forge done")
}