File tree Expand file tree Collapse file tree 3 files changed +14
-492
lines changed Expand file tree Collapse file tree 3 files changed +14
-492
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ VERSION := $(shell sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml)
4
4
5
5
LDFLAGS := -X main.Version=$(VERSION )
6
6
7
+ PKG: = github.com/databus23/helm-diff
8
+
9
+ # Clear the "unreleased" string in BuildMetadata
10
+ LDFLAGS += -X $(PKG ) /vendor/k8s.io/helm/pkg/version.BuildMetadata=
11
+ LDFLAGS += -X $(PKG ) /vendor/k8s.io/helm/pkg/version.Version=$(shell grep -A1 "package: k8s.io/helm" glide.yaml | sed -n -e 's/[ ]* version: ^\(.* \) /\1/p' )
12
+
7
13
.PHONY : install
8
14
install : bootstrap build
9
15
mkdir -p $(HELM_HOME ) /plugins/diff
@@ -20,7 +26,6 @@ ifndef HAS_GLIDE
20
26
go get -u github.com/Masterminds/glide
21
27
endif
22
28
glide install --strip-vendor
23
- scripts/setup-apimachinery.sh
24
29
25
30
.PHONY : dist
26
31
dist : export COPYFILE_DISABLE=1 # teach OSX tar to not put ._* files in tar archive
You can’t perform that action at this time.
0 commit comments