fix missing dependencies for cli (#3065)
This commit is contained in:
+23
-1
@@ -168,19 +168,41 @@ else
|
||||
mv "$TMP_DIR/goose" "$GOOSE_BIN_DIR/$OUT_FILE"
|
||||
fi
|
||||
|
||||
# Also move temporal-service if it exists (for scheduling functionality)
|
||||
# Also move temporal-service and temporal CLI if they exist
|
||||
if [ "$OS" = "windows" ]; then
|
||||
if [ -f "$TMP_DIR/temporal-service.exe" ]; then
|
||||
echo "Moving temporal-service to $GOOSE_BIN_DIR/temporal-service.exe"
|
||||
mv "$TMP_DIR/temporal-service.exe" "$GOOSE_BIN_DIR/temporal-service.exe"
|
||||
chmod +x "$GOOSE_BIN_DIR/temporal-service.exe"
|
||||
fi
|
||||
|
||||
# Move temporal CLI if it exists
|
||||
if [ -f "$TMP_DIR/temporal.exe" ]; then
|
||||
echo "Moving temporal CLI to $GOOSE_BIN_DIR/temporal.exe"
|
||||
mv "$TMP_DIR/temporal.exe" "$GOOSE_BIN_DIR/temporal.exe"
|
||||
chmod +x "$GOOSE_BIN_DIR/temporal.exe"
|
||||
fi
|
||||
|
||||
# Copy Windows runtime DLLs if they exist
|
||||
for dll in "$TMP_DIR"/*.dll; do
|
||||
if [ -f "$dll" ]; then
|
||||
echo "Moving Windows runtime DLL: $(basename "$dll")"
|
||||
mv "$dll" "$GOOSE_BIN_DIR/"
|
||||
fi
|
||||
done
|
||||
else
|
||||
if [ -f "$TMP_DIR/temporal-service" ]; then
|
||||
echo "Moving temporal-service to $GOOSE_BIN_DIR/temporal-service"
|
||||
mv "$TMP_DIR/temporal-service" "$GOOSE_BIN_DIR/temporal-service"
|
||||
chmod +x "$GOOSE_BIN_DIR/temporal-service"
|
||||
fi
|
||||
|
||||
# Move temporal CLI if it exists
|
||||
if [ -f "$TMP_DIR/temporal" ]; then
|
||||
echo "Moving temporal CLI to $GOOSE_BIN_DIR/temporal"
|
||||
mv "$TMP_DIR/temporal" "$GOOSE_BIN_DIR/temporal"
|
||||
chmod +x "$GOOSE_BIN_DIR/temporal"
|
||||
fi
|
||||
fi
|
||||
|
||||
# skip configuration for non-interactive installs e.g. automation, docker
|
||||
|
||||
Reference in New Issue
Block a user