summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCherrg <michael@gnehr.de>2019-06-13 06:23:45 +0200
committertechknowlogick <hello@techknowlogick.com>2019-06-13 00:23:45 -0400
commit2f39fc7bb6a17b4637b723026a2e18dafd1a0adb (patch)
treea4611e73db3aebb171359e1c2255202af1788611 /Makefile
parent8f0182c3229dfbb8d731557e5006e39bd616b4e9 (diff)
downloadgitea-2f39fc7bb6a17b4637b723026a2e18dafd1a0adb.tar.gz
gitea-2f39fc7bb6a17b4637b723026a2e18dafd1a0adb.zip
fix drone build bug (#7192)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d7f27a8a94..56fa863c8e 100644
--- a/Makefile
+++ b/Makefile
@@ -469,6 +469,7 @@ pr:
.PHONY: golangci-lint
golangci-lint:
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
+ export BINARY="golangci-lint"; \
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
fi
golangci-lint run