Skip to content

Commit

Permalink
fix 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 8db49e9 commit fc22f8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-package
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ build_binary() {
output_path=/opt/artifacts

for platform in "${platforms[@]}"; do
platform_split=("${platform//\// }")
splitted="$(echo -e "${platform//\//'\n'}")"
mapfile -t platform_split <<<"${splitted}"

export GOOS="${platform_split[0]}"
export GOARCH="${platform_split[1]}"

Expand Down

0 comments on commit fc22f8e

Please sign in to comment.