Files
im_server/build-py-grpc.sh
T
2026-08-11 15:59:57 +08:00

20 lines
329 B
Bash
Executable File

#!/bin/bash
echo "Packaging python tinode-grpc..."
pushd ./pbx > /dev/null
# Generate grpc bindings from the proto file.
./py-generate.sh v=3
pushd ../py_grpc > /dev/null
# Generate version file from git tags
python3 version.py
# Generate tinode-grpc package
python3 -m build > /dev/null
popd > /dev/null
popd > /dev/null