kill $SERVER_PID
- name: Check latest TS files are in git
run: |
+ git checkout ts/package.json
git diff --exit-code
java_bindings:
./genbindings.py "./lightning.h" ts ts ts $DEBUG_ARG typescript browser
fi
rm -f ts/bindings.c
+ sed -i 's/^ "version": .*/ "version": "'${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}'",/g' ts/package.json
if [ "$3" = "true" ]; then
echo "#define LDK_DEBUG_BUILD" > ts/bindings.c
elif [ "$3" = "leaks" ]; then
{
"name": "lightningdevkit",
- "version": "0.0.106.0beta1",
+ "version": "Set in genbindings.sh automagically",
"description": "Lightning Development Kit",
"main": "index.mjs",
"types": "index.d.mts",