mirror of https://github.com/docker/docs.git
+ Hack: 'make s3release' uploads a clean build to s3
This commit is contained in:
parent
528da23d6a
commit
6e486b638b
3
Makefile
3
Makefile
|
@ -59,6 +59,9 @@ $(BINRELEASE): $(SRCRELEASE)
|
||||||
rm -f $(BINRELEASE)
|
rm -f $(BINRELEASE)
|
||||||
cd $(SRCRELEASE); make; cp -R bin docker-$(RELEASE_VERSION); tar -f ../$(BINRELEASE) -zv -c docker-$(RELEASE_VERSION)
|
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:
|
clean:
|
||||||
@rm -rf $(dir $(DOCKER_BIN))
|
@rm -rf $(dir $(DOCKER_BIN))
|
||||||
ifeq ($(GOPATH), $(BUILD_DIR))
|
ifeq ($(GOPATH), $(BUILD_DIR))
|
||||||
|
|
Loading…
Reference in New Issue