Skip to content

Commit d80b9c7

Browse files
committed
fix: write sidecar output to release workspace
1 parent 4b08358 commit d80b9c7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/build-sidecar.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ if [[ "$GOOS" == "windows" ]]; then
2222
BINARY_NAME="${BINARY_NAME}.exe"
2323
fi
2424

25+
if [[ "${OUTPUT_DIR}" != /* ]]; then
26+
OUTPUT_DIR="${ROOT_DIR}/${OUTPUT_DIR}"
27+
fi
28+
2529
ensure_source_dir() {
2630
if [[ -f "${SOURCE_DIR}/go.mod" ]]; then
2731
return 0

0 commit comments

Comments
 (0)