From 47c360da37a7860f0919795d02ed19e1647248c1 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Wed, 10 Aug 2016 15:04:02 -0700 Subject: [PATCH 1/3] chore(*): bump version to v2.0.0-alpha.3 --- pkg/version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/version/version.go b/pkg/version/version.go index 128b9a468..71730852a 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -23,4 +23,4 @@ package version // import "k8s.io/helm/pkg/version" // Increment major number for new feature additions and behavioral changes. // Increment minor number for bug fixes and performance enhancements. // Increment patch number for critical fixes to existing releases. -var Version = "v2.0.0-alpha.2" +var Version = "v2.0.0-alpha.3" From e7738c5c568b2446bb5b208f14a0b1cd779e57eb Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Thu, 11 Aug 2016 09:03:37 -0700 Subject: [PATCH 2/3] feat(ci): add windows build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2dbaed323..90a9cc730 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ build: .PHONY: build-cross build-cross: - gox -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -os="darwin linux" -arch="amd64 386" $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' k8s.io/helm/cmd/... + gox -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -os="darwin linux windows" -arch="amd64 386" $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' k8s.io/helm/cmd/... .PHONY: check-docker check-docker: From dd7cebc39f3d82f1727b3b3c7e17710bc21c593c Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Thu, 11 Aug 2016 09:24:25 -0700 Subject: [PATCH 3/3] feat(Makefile): add target for building releases * Add README and License files to archive * Compress archives for smaller download size https://github.com/kubernetes/helm/issues/999 --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 90a9cc730..7216bb3e7 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ LDFLAGS := GOFLAGS := BINDIR := $(CURDIR)/bin BINARIES := helm tiller +DIST_DIRS := find * -type d -exec .PHONY: all all: build @@ -24,6 +25,17 @@ build: build-cross: gox -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -os="darwin linux windows" -arch="amd64 386" $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' k8s.io/helm/cmd/... +# usage: make dist VERSION=v2.0.0-alpha.3 +.PHONY: dist +dist: build-cross + ( \ + cd _dist && \ + $(DIST_DIRS) cp ../LICENSE {} \; && \ + $(DIST_DIRS) cp ../README.md {} \; && \ + $(DIST_DIRS) tar -zcf helm-${VERSION}-{}.tar.gz {} \; && \ + $(DIST_DIRS) zip -r helm-${VERSION}-{}.zip {} \; \ + ) + .PHONY: check-docker check-docker: @if [ -z $$(which docker) ]; then \