Use git: prefix for the git URL in scm-source.json (#112)

This commit is contained in:
Oleksii Kliukin 2017-04-27 10:28:32 +02:00 committed by Murat Kabilov
parent 1c4bce86df
commit a9c6c4861c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ push:
docker push "$(IMAGE):$(TAG)" docker push "$(IMAGE):$(TAG)"
scm-source.json: .git 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: tools:
@go get -u honnef.co/go/staticcheck/cmd/staticcheck @go get -u honnef.co/go/staticcheck/cmd/staticcheck