diff --git a/release.sh b/release.sh index ca6e76a..28d8e23 100755 --- a/release.sh +++ b/release.sh @@ -108,7 +108,7 @@ BUILD_ARTIFACTS_FOLDER=build-artifacts-$(date +%s) if [ ! -z ${MULTIPLE_BINARIES} ]; then RELEASE_ASSET_DIR=${BUILD_ARTIFACTS_FOLDER} mkdir -p ${RELEASE_ASSET_DIR} - GOAMD64=${GOAMD64_FLAG} GOARM=${GOARM_FLAG} GOOS=${INPUT_GOOS} GOARCH=${INPUT_GOARCH} ${INPUT_BUILD_COMMAND} -o ${BUILD_ARTIFACTS_FOLDER} ${INPUT_PROJECT_PATH} ${INPUT_BUILD_FLAGS} ${LDFLAGS_PREFIX} "${INPUT_LDFLAGS}" + GOAMD64=${GOAMD64_FLAG} GOARM=${GOARM_FLAG} GOOS=${INPUT_GOOS} GOARCH=${INPUT_GOARCH} ${INPUT_BUILD_COMMAND} ${INPUT_BUILD_FLAGS} -o ${BUILD_ARTIFACTS_FOLDER} ${INPUT_PROJECT_PATH} else RELEASE_ASSET_DIR=${INPUT_PROJECT_PATH}/${BUILD_ARTIFACTS_FOLDER} mkdir -p ${RELEASE_ASSET_DIR}