Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
Signed-off-by: danCrespo <117232080+danCrespo@users.noreply.github.com>
  • Loading branch information
danCrespo committed Sep 14, 2023
1 parent ae5516b commit 41b4500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-package
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ build_binary() {
for arc in "${goarchs[@]}"; do
export GOARCH="${arc}"
binaryName="${programName}_${os}_${arc}"
go build -o "${output_path}/${programName}" -buildmode=exe "${dir}"
go build -o "${output_path}/${binaryName}" -buildmode=exe "${dir}"

cd "${output_path}" \
&& tar -czvf "${binaryName}.tar.gz" "${binaryName}"
Expand Down

0 comments on commit 41b4500

Please sign in to comment.