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
868b82c8
Commit
868b82c8
authored
Aug 12, 2016
by
Adam Reese
Committed by
GitHub
Aug 12, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1049 from adamreese/feat/dist
feat(Makefile): add target for building releases
parents
b106def8
dd7cebc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
Makefile
Makefile
+13
-1
version.go
pkg/version/version.go
+1
-1
No files found.
Makefile
View file @
868b82c8
...
...
@@ -12,6 +12,7 @@ LDFLAGS :=
GOFLAGS
:=
BINDIR
:=
$(CURDIR)
/bin
BINARIES
:=
helm tiller
DIST_DIRS
:=
find
*
-type
d
-exec
.PHONY
:
all
all
:
build
...
...
@@ -22,7 +23,18 @@ 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/...
# 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
:
...
...
pkg/version/version.go
View file @
868b82c8
...
...
@@ -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
"
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