From 8bbcecb870ea18c1658208852be7c935c8331018 Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Mon, 22 Oct 2018 14:15:01 -0700 Subject: [PATCH] Make sure do-release always uses the release_registry I often set REGISTRY env var locally, so this catches me often when I do releases. --- build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index f8cbd7dde2..c9c40c9346 100644 --- a/build/Makefile +++ b/build/Makefile @@ -325,7 +325,7 @@ do-release: cp $(agones_path)/sdks/cpp/bin/agonessdk-$(RELEASE_VERSION)-src.zip $(agones_path)/release cd $(agones_path) && zip -r ./release/agones-install-$(RELEASE_VERSION).zip ./README.md ./install ./LICENSE $(MAKE) push-chart - $(MAKE) gcloud-auth-docker push VERSION=$(RELEASE_VERSION) + $(MAKE) gcloud-auth-docker push REGISTRY=$(release_registry) VERSION=$(RELEASE_VERSION) git push -u upstream release-$(RELEASE_VERSION) @echo "Now go make the $(RELEASE_VERSION) release on Github!"