File tree 3 files changed +11
-65
lines changed 3 files changed +11
-65
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -52,18 +52,18 @@ jobs:
52
52
- name : Build Site
53
53
run : make site/out/index.html
54
54
55
- - name : Build Slim Binaries
55
+ - name : Build Linux and Windows Binaries
56
56
run : |
57
57
mkdir -p ./dist
58
+ # build slim binaries
58
59
./scripts/build_go_slim.sh \
59
60
--version "$(VERSION)" \
60
61
--output ./dist/ \
61
62
linux:amd64,armv7,arm64 \
62
63
windows:amd64,arm64 \
63
64
darwin:amd64,arm64
64
65
65
- - name : Build Linux and Windows Binaries
66
- run : |
66
+ # build linux and windows binaries
67
67
./scripts/build_go_matrix.sh \
68
68
--output ./dist/ \
69
69
--archive \
@@ -126,18 +126,18 @@ jobs:
126
126
- name : Build Site
127
127
run : make site/out/index.html
128
128
129
- - name : Build Slim Binaries
129
+ - name : Build darwin Binaries (with signatures)
130
130
run : |
131
131
mkdir -p ./dist
132
+ # build slim binaries
132
133
./scripts/build_go_slim.sh \
133
134
--version "$(VERSION)" \
134
135
--output ./dist/ \
135
136
linux:amd64,armv7,arm64 \
136
137
windows:amd64,arm64 \
137
138
darwin:amd64,arm64
138
139
139
- - name : Build darwin Binaries (with signatures)
140
- run : |
140
+ # build darwin binaries
141
141
./scripts/build_go_matrix.sh \
142
142
--output ./dist/ \
143
143
--archive \
Original file line number Diff line number Diff line change @@ -126,7 +126,11 @@ for spec in "$@"; do
126
126
done
127
127
128
128
# Remove duplicate specs while maintaining the same order.
129
- mapfile -t specs < <( echo " ${specs[@]} " | tr " " " \n" | awk ' !a[$0]++' )
129
+ specs_str=" ${specs[*]} "
130
+ specs=()
131
+ for s in $( echo " $specs_str " | tr " " " \n" | awk ' !a[$0]++' ) ; do
132
+ specs+=(" $s " )
133
+ done
130
134
131
135
build_args=()
132
136
if [[ " $slim " == 1 ]]; then
You can’t perform that action at this time.
0 commit comments