File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 44
44
cp README.md LICENSE plugin.yaml build/diff
45
45
GOOS=linux GOARCH=amd64 go build -o build/diff/bin/diff -ldflags=" $( LDFLAGS) "
46
46
tar -C build/ -zcvf $(CURDIR ) /release/helm-diff-linux.tgz diff/
47
+ GOOS=freebsd GOARCH=amd64 go build -o build/diff/bin/diff -ldflags=" $( LDFLAGS) "
48
+ tar -C build/ -zcvf $(CURDIR ) /release/helm-diff-freebsd.tgz diff/
47
49
GOOS=darwin GOARCH=amd64 go build -o build/diff/bin/diff -ldflags=" $( LDFLAGS) "
48
50
tar -C build/ -zcvf $(CURDIR ) /release/helm-diff-macos.tgz diff/
49
51
rm build/diff/bin/diff
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
3
# Shamelessly copied from https://github.com/technosophos/helm-template
4
4
@@ -52,7 +52,7 @@ initOS() {
52
52
# verifySupported checks that the os/arch combination is supported for
53
53
# binary builds.
54
54
verifySupported () {
55
- local supported=" linux-amd64\nmacos-amd64\nwindows-amd64"
55
+ local supported=" linux-amd64\nfreebsd-amd64\ nmacos-amd64\nwindows-amd64"
56
56
if ! echo " ${supported} " | grep -q " ${OS} -${ARCH} " ; then
57
57
echo " No prebuild binary for ${OS} -${ARCH} ."
58
58
exit 1
You can’t perform that action at this time.
0 commit comments