Browse code

Add s3 upload to 'make release'

Solomon Hykes authored on 2013/05/03 03:32:55
Showing 1 changed files
... ...
@@ -45,6 +45,8 @@ whichrelease:
45 45
 	echo $(RELEASE_VERSION)
46 46
 
47 47
 release: $(BINRELEASE)
48
+	s3cmd -P put $(BINRELEASE) s3://get.docker.io/builds/`uname -s`/`uname -m`/docker-$(RELEASE_VERSION).tgz
49
+
48 50
 srcrelease: $(SRCRELEASE)
49 51
 deps: $(DOCKER_DIR)
50 52
 
... ...
@@ -59,9 +61,6 @@ $(BINRELEASE): $(SRCRELEASE)
59 59
 	rm -f $(BINRELEASE)
60 60
 	cd $(SRCRELEASE); make; cp -R bin docker-$(RELEASE_VERSION); tar -f ../$(BINRELEASE) -zv -c docker-$(RELEASE_VERSION)
61 61
 
62
-s3release: $(BINRELEASE)
63
-	s3cmd -P put $(BINRELEASE) s3://get.docker.io/builds/`uname -s`/`uname -m`/docker-$(RELEASE_VERSION).tgz
64
-
65 62
 clean:
66 63
 	@rm -rf $(dir $(DOCKER_BIN))
67 64
 ifeq ($(GOPATH), $(BUILD_DIR))