Skip to content

Commit cbc38c7

Browse files
rustyrussellmadelinevibes
authored andcommitted
Release: do docker make inside uv run.
Here's the error inside docker: ``` wiregen common/status_wiregen.h Traceback (most recent call last): File "/build/tools/generate-wire.py", line 27, in <module> from mako.template import Template ModuleNotFoundError: No module named 'mako' rm external/build-x86_64-redhat-linux/libwally-core-build/src/secp256k1/libsecp256k1.la make: *** [Makefile:328: common/status_wiregen.h] Error 1 ``` Signed-off-by: Rusty Russell <[email protected]>
1 parent 6da1112 commit cbc38c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ if [ "$1" = "--inside-docker" ]; then
1515
uv export --format requirements.txt > /tmp/requirements.txt
1616
uv pip install -r /tmp/requirements.txt
1717
./configure
18-
make VERSION="$VER"
19-
make install DESTDIR=/"$VER-$PLTFM-$PLTFMVER-$ARCH" RUST_PROFILE=release
18+
uv run make VERSION="$VER"
19+
uv run make install DESTDIR=/"$VER-$PLTFM-$PLTFMVER-$ARCH" RUST_PROFILE=release
2020
cd /"$VER-$PLTFM-$PLTFMVER-$ARCH" && tar cvfz /release/clightning-"$VER-$PLTFM-$PLTFMVER-$ARCH".tar.gz -- *
2121
echo "Inside docker: build finished"
2222
exit 0

0 commit comments

Comments
 (0)