File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -756,12 +756,13 @@ clean: obsclean
756756
757757# See doc/contribute-to-core-lightning/contributor-workflow.md
758758PYLNS =client proto testing
759+ update-versions : update-pyln-versions update-poetry-lock update-dot-version update-doc-examples
759760update-pyln-versions : $(PYLNS:%=update-pyln-version-% )
760761
761762update-pyln-version-% :
762763 @if [ -z " $( NEW_VERSION) " ]; then echo " Set NEW_VERSION!" >&2 ; exit 1; fi
763764 @echo " Updating contrib/pyln-$* to $( NEW_VERSION) "
764- @sed -i ' ' ' s/^version = .*/version = "$(NEW_VERSION)"/' contrib/pyln-$* /pyproject.toml
765+ @sed -i.bak ' s/^version = .*/version = "$(NEW_VERSION)"/' contrib/pyln-$* /pyproject.toml && rm contrib/pyln- $* /pyproject.toml.bak
765766
766767pyln-release : $(PYLNS:%=pyln-release-% )
767768
@@ -790,6 +791,9 @@ pyln-build-all: pyln-build pyln-build-bolts pyln-build-grpc-proto pyln-build-wss
790791update-lock :
791792 uv sync --all-extras --all-groups
792793
794+ update-poetry-lock :
795+ poetry update update-reckless-version
796+
793797update-reckless-version :
794798 @if [ -z " $( NEW_VERSION) " ]; then echo " Set NEW_VERSION!" >&2 ; exit 1; fi
795799 @sed -i ' ' " s/__VERSION__ = '\([.-z]*\)'/__VERSION__ = '$( NEW_VERSION) '/" tools/reckless
Original file line number Diff line number Diff line change @@ -62,3 +62,10 @@ pyln-bolt1 = { workspace = true }
6262pyln-bolt2 = { workspace = true }
6363pyln-bolt4 = { workspace = true }
6464pyln-bolt7 = { workspace = true }
65+
66+ [tool .poetry ]
67+ packages = [
68+ { include = " contrib/pyln-client" },
69+ { include = " contrib/pyln-proto" },
70+ { include = " contrib/pyln-grpc-proto" }
71+ ]
You can’t perform that action at this time.
0 commit comments