File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
diff
2
2
vendor /
3
+ release /
4
+ .envrc
Original file line number Diff line number Diff line change @@ -20,3 +20,18 @@ ifndef HAS_GLIDE
20
20
go get -u github.com/Masterminds/glide
21
21
endif
22
22
glide install --strip-vendor
23
+
24
+ .PHONY : dist
25
+ dist :
26
+ GOOS=linux GOARCH=amd64 go build -o diff -ldflags=" $( LDFLAGS) "
27
+ tar -zcvf release/helm-template-linux.tgz diff README.md LICENSE plugin.yaml
28
+ GOOS=darwin GOARCH=amd64 go build -o diff -ldflags=" $( LDFLAGS) "
29
+ tar -zcvf release/helm-template-macos.tgz diff README.md LICENSE plugin.yaml
30
+ rm diff
31
+
32
+ .PHONY : release
33
+ release : dist
34
+ ifndef GITHUB_ACCESS_TOKEN
35
+ $(error GITHUB_ACCESS_TOKEN is undefined)
36
+ endif
37
+ gh-release create databus23/helm-diff $(VERSION) master
You can’t perform that action at this time.
0 commit comments