From 6e486b638b6674694fe02d2661bd93f0ee08d425 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Thu, 2 May 2013 11:25:49 -0700 Subject: [PATCH] + Hack: 'make s3release' uploads a clean build to s3 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 2d9ba2c605..d4aa4b4721 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,9 @@ $(BINRELEASE): $(SRCRELEASE) rm -f $(BINRELEASE) cd $(SRCRELEASE); make; cp -R bin docker-$(RELEASE_VERSION); tar -f ../$(BINRELEASE) -zv -c docker-$(RELEASE_VERSION) +s3release: $(BINRELEASE) + s3cmd -P put $(BINRELEASE) s3://get.docker.io/builds/`uname -s`/`uname -m`/docker-$(RELEASE_VERSION).tgz + clean: @rm -rf $(dir $(DOCKER_BIN)) ifeq ($(GOPATH), $(BUILD_DIR))