Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.

Commit 24a80ac

Browse files
committed
update binaries to have different names
1 parent 1c0e6d5 commit 24a80ac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build-release.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ oses=(linux darwin windows)
99

1010
for arch in ${archs[@]}; do
1111
for os in ${oses[@]}; do
12-
dir="releases/${arch}/${os}"
13-
mkdir -p "${dir}"
14-
env GOOS="${os}" GOARCH="${arch}" go build -o "${dir}/toc"
12+
env GOOS="${os}" GOARCH="${arch}" go build -o "binaries/toc-${os}-${arch}"
1513
done
1614
done
1715

1816
echo -e "Built binaries:\n"
19-
file releases/**/**/toc
17+
file binaries/*

0 commit comments

Comments
 (0)