Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
f2a25e79
Unverified
Commit
f2a25e79
authored
Aug 07, 2018
by
Matthew Fisher
Committed by
GitHub
Aug 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4443 from bacongobbler/fix-1690
distribute tiller binary with each release
parents
2d82b882
c98f3a1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Makefile
Makefile
+3
-3
No files found.
Makefile
View file @
f2a25e79
...
...
@@ -4,7 +4,6 @@ SHORT_NAME ?= tiller
SHORT_NAME_RUDDER
?=
rudder
TARGETS
?=
darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64
DIST_DIRS
=
find
*
-type
d
-exec
APP
=
helm
# go option
GO
?=
go
...
...
@@ -27,11 +26,12 @@ all: build
build
:
GOBIN
=
$(BINDIR)
$(GO)
install
$(GOFLAGS)
-tags
'
$(TAGS)
'
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/...
# usage: make clean build-cross dist
APP=helm|tiller
VERSION=v2.0.0-alpha.3
# usage: make clean build-cross dist VERSION=v2.0.0-alpha.3
.PHONY
:
build-cross
build-cross
:
LDFLAGS += -extldflags "-static"
build-cross
:
CGO_ENABLED
=
0 gox
-parallel
=
3
-output
=
"_dist/{{.OS}}-{{.Arch}}/{{.Dir}}"
-osarch
=
'
$(TARGETS)
'
$(GOFLAGS)
$
(
if
$(TAGS)
,-tags
'
$(TAGS)
'
,
)
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/
$(APP)
CGO_ENABLED
=
0 gox
-parallel
=
3
-output
=
"_dist/{{.OS}}-{{.Arch}}/{{.Dir}}"
-osarch
=
'
$(TARGETS)
'
$(GOFLAGS)
$
(
if
$(TAGS)
,-tags
'
$(TAGS)
'
,
)
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/helm
CGO_ENABLED
=
0 gox
-parallel
=
3
-output
=
"_dist/{{.OS}}-{{.Arch}}/{{.Dir}}"
-osarch
=
'
$(TARGETS)
'
$(GOFLAGS)
$
(
if
$(TAGS)
,-tags
'
$(TAGS)
'
,
)
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/tiller
.PHONY
:
dist
dist
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment