diff --git a/Makefile b/Makefile index 31a8145a3..3198bff27 100644 --- a/Makefile +++ b/Makefile @@ -32,16 +32,6 @@ sdk: rm -rf ./sdk/php/swagger/test rm -rf ./vendor -install-stable: - KETO_LATEST=$$(git describe --abbrev=0 --tags) - git checkout $$KETO_LATEST - $(go env GOPATH)/bin/packr - GO111MODULE=on go install \ - -ldflags "-X github.com/ory/keto/cmd.Version=$$KETO_LATEST -X github.com/ory/keto/cmd.BuildTime=`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X github.com/ory/keto/cmd.GitHash=`git rev-parse HEAD`" \ - . - $(go env GOPATH)/bin/packr clean - git checkout master - .PHONY: install-stable install-stable: KETO_LATEST=$$(git describe --abbrev=0 --tags) @@ -57,4 +47,4 @@ install-stable: install: $(go env GOPATH)/bin/packr GO111MODULE=on go install . - $(go env GOPATH)/bin/packr clean \ No newline at end of file + $(go env GOPATH)/bin/packr clean