Skip to content

Commit

Permalink
Updated build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mspalti committed Apr 30, 2022
1 parent 9fd72f4 commit 6a0bafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/build_distros.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ for PLATFORM in $PLATFORMS; do
if [[ "${GOOS}" == "windows" ]]; then BIN_FILENAME="${BIN_FILENAME}.exe"; fi
CMD="GOOS=${GOOS} GOARCH=${GOARCH} go build -o ${BIN_PATH}/${OUTPUT_DIR}/${BIN_FILENAME} main.go
&& cp -n ${DISTROS}/config.yml ${BIN_PATH}/${OUTPUT_DIR}/
&& tar -cf ${BIN_PATH}/${OUTPUT_DIR}.tar ${BIN_PATH}/${OUTPUT_DIR}/${BIN_FILENAME}"
&& tar -czf ${BIN_PATH}/${OUTPUT_DIR}.tar.gz ${BIN_PATH}/${OUTPUT_DIR}"
echo "${CMD}"
eval $CMD || FAILURES="${FAILURES} ${PLATFORM}"
done
Expand Down

0 comments on commit 6a0bafe

Please sign in to comment.