From 8be97f25e7276d2d46f002199f9eda345fc0800d Mon Sep 17 00:00:00 2001 From: Thiago Caiubi Date: Sat, 3 Oct 2020 10:09:40 -0300 Subject: [PATCH] Fix build (#813) * Fix build Without the v7 path it builds old version of the project (v3.2.0). * Update CHANGELOG.md --- CHANGELOG.md | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e25171c2..6e7824f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ - [#616](https://github.com/oauth2-proxy/oauth2-proxy/pull/616) Add support to ensure user belongs in required groups when using the OIDC provider (@stefansedich) - [#800](https://github.com/oauth2-proxy/oauth2-proxy/pull/800) Fix import path for v7 (@johejo) - [#783](https://github.com/oauth2-proxy/oauth2-proxy/pull/783) Update Go to 1.15 (@johejo) +- [#813](https://github.com/oauth2-proxy/oauth2-proxy/pull/813) Fix build (@thiagocaiubi) # v6.1.1 diff --git a/Makefile b/Makefile index 19b91a18..3b7ea3b4 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ lint: validate-go-version build: validate-go-version clean $(BINARY) $(BINARY): - GO111MODULE=on CGO_ENABLED=0 $(GO) build -a -installsuffix cgo -ldflags="-X main.VERSION=${VERSION}" -o $@ github.com/oauth2-proxy/oauth2-proxy + GO111MODULE=on CGO_ENABLED=0 $(GO) build -a -installsuffix cgo -ldflags="-X main.VERSION=${VERSION}" -o $@ github.com/oauth2-proxy/oauth2-proxy/v7 .PHONY: docker docker: