From a9c6c4861c572b10cc3123e6df81638605bc6f4c Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Thu, 27 Apr 2017 10:28:32 +0200 Subject: [PATCH] Use git: prefix for the git URL in scm-source.json (#112) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 390e9f3ac..f3ba476e9 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ push: docker push "$(IMAGE):$(TAG)" scm-source.json: .git - echo '{\n "url": "$(GITURL)",\n "revision": "$(GITHEAD)",\n "author": "$(USER)",\n "status": "$(GITSTATUS)"\n}' > scm-source.json + echo '{\n "url": "git:$(GITURL)",\n "revision": "$(GITHEAD)",\n "author": "$(USER)",\n "status": "$(GITSTATUS)"\n}' > scm-source.json tools: @go get -u honnef.co/go/staticcheck/cmd/staticcheck