diff options
author | Cherrg <michael@gnehr.de> | 2019-07-06 17:16:43 +0200 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-07-06 16:16:43 +0100 |
commit | 86750325c76ec18c253fabd4aeed72caca0ee946 (patch) | |
tree | 96fcbcf078e9170c627f723ef6967c29b28f4b8d /Makefile | |
parent | 49ee9d27718c31d5ab4fe9543fefc90cd40d4405 (diff) | |
download | gitea-86750325c76ec18c253fabd4aeed72caca0ee946.tar.gz gitea-86750325c76ec18c253fabd4aeed72caca0ee946.zip |
workaround broken drone build (#7362)
* workaround broken swagger
only master brach is not working, latest release seems to work
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* make vendor
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Don't export GO111MODULE
* set go-swagger to fixed release version
mentioned here: https://github.com/go-gitea/gitea/pull/7362#discussion_r300831537
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ generate: .PHONY: generate-swagger generate-swagger: @hash swagger > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - $(GO) get -u github.com/go-swagger/go-swagger/cmd/swagger; \ + GO111MODULE="on" $(GO) get -u github.com/go-swagger/go-swagger/cmd/swagger@v0.19.0; \ fi swagger generate spec -o './$(SWAGGER_SPEC)' $(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)' |