Skip to content

Commit 08984aa

Browse files
Update release.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 6dbf65b commit 08984aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

release.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ for i in $SYS; do
9898
cd $PACKAGE-$i-$TAG
9999

100100
echo "Building:" $OS $ARCH $ARM
101-
env CGO_ENABLED=0 GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -ldflags "$COMMITFLAGS" github.com/lightninglabs/loop/cmd/loop
102-
env CGO_ENABLED=0 GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -ldflags "$COMMITFLAGS" github.com/lightninglabs/loop/cmd/loopd
101+
for bin in loop loopd; do
102+
env CGO_ENABLED=0 GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -ldflags "$COMMITFLAGS" "github.com/lightninglabs/loop/cmd/$bin"
103+
done
103104
cd ..
104105

105106
if [[ $OS = "windows" ]]; then

0 commit comments

Comments
 (0)