20 lines
329 B
Bash
Executable File
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
|