Skip to content

Commit ba78076

Browse files
committed
fixup! chore: make dependency checks nicer
1 parent 449a1a1 commit ba78076

File tree

7 files changed

+10
-8
lines changed

7 files changed

+10
-8
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ jobs:
5757

5858
- name: Build Linux and Windows Binaries
5959
run: |
60+
go mod download
61+
6062
mkdir -p ./dist
6163
# build slim binaries
6264
./scripts/build_go_slim.sh \
63-
--version "$(VERSION)" \
6465
--output ./dist/ \
6566
linux:amd64,armv7,arm64 \
6667
windows:amd64,arm64 \
@@ -138,10 +139,11 @@ jobs:
138139

139140
- name: Build darwin Binaries (with signatures)
140141
run: |
142+
go mod download
143+
141144
mkdir -p ./dist
142145
# build slim binaries
143146
./scripts/build_go_slim.sh \
144-
--version "$(VERSION)" \
145147
--output ./dist/ \
146148
linux:amd64,armv7,arm64 \
147149
windows:amd64,arm64 \

scripts/archive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ if [[ "$sign_darwin" == 1 ]]; then
124124
execrelative ./sign_darwin.sh "$output_path"
125125
fi
126126

127-
echo -n "$output_path"
127+
echo "$output_path"

scripts/build_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ if [[ "$push" == 1 ]]; then
111111
docker push "$image_tag"
112112
fi
113113

114-
echo -n "$image_tag"
114+
echo "$image_tag"

scripts/build_docker_multiarch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ if [[ "$push" == 1 ]]; then
7474
docker push "$output_tag"
7575
fi
7676

77-
echo -n "$output_tag"
77+
echo "$output_tag"

scripts/build_go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ if [[ "$sign_darwin" == 1 ]] && [[ "$os" == "darwin" ]]; then
123123
codesign -s "$AC_APPLICATION_IDENTITY" -f -v --timestamp --options runtime "$output_path"
124124
fi
125125

126-
echo -n "$output_path"
126+
echo "$output_path"

scripts/image_tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ if [[ "$arch" != "" ]]; then
5555
fi
5656

5757
tag="${tag//+/-}"
58-
echo -n "$image:$tag"
58+
echo "$image:$tag"

scripts/version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ if [[ "$last_tag" != "$current" ]]; then
3434
fi
3535

3636
# Remove the "v" prefix.
37-
echo -n "${version#v}"
37+
echo "${version#v}"

0 commit comments

Comments
 (0)