File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,15 @@ endif
2222 glide install --strip-vendor
2323
2424.PHONY : dist
25+ dist : export COPYFILE_DISABLE=1 # teach OSX tar to not put ._* files in tar archive
2526dist :
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
27+ mkdir -p build/diff
28+ rm -rf build/diff/* release/*
29+ cp README.md LICENSE plugin.yaml build/diff
30+ GOOS=linux GOARCH=amd64 go build -o build/diff/diff -ldflags=" $( LDFLAGS) "
31+ tar -C build/ -zcvf $(CURDIR ) /release/helm-template-linux.tgz diff/
32+ GOOS=darwin GOARCH=amd64 go build -o build/diff/diff -ldflags=" $( LDFLAGS) "
33+ tar -C build/ -zcvf $(CURDIR ) /release/helm-template-macos.tgz diff/
3134
3235.PHONY : release
3336release : dist
You can’t perform that action at this time.
0 commit comments