From 27af7b5d152ef89f1eb78e60972ee644a3238fdb Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 14 Dec 2022 16:27:23 -0800 Subject: [PATCH] fix help output (#9509) --- tools/_release.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/_release.sh b/tools/_release.sh index 368ed21d5..58551952c 100755 --- a/tools/_release.sh +++ b/tools/_release.sh @@ -169,6 +169,14 @@ VIRTUALENV_NO_DOWNLOAD=1 virtualenv ../venv . ../venv/bin/activate pip install -U setuptools pip install -U pip + +# This creates a string like "acme==a.b.c certbot==a.b.c ..." which can be used +# with pip to ensure the correct versions of our packages installed. +subpkgs_with_version="" +for pkg in $SUBPKGS; do + subpkgs_with_version="$subpkgs_with_version $pkg==$version" +done + # Now, use our local archives. Disable cache so we get the correct packages even if # we (or our dependencies) have conditional dependencies implemented with if # statements in setup.py and we have cached wheels lying around that would cause @@ -176,7 +184,7 @@ pip install -U pip python ../tools/pip_install.py \ --no-cache-dir \ --find-links . \ - $SUBPKGS + $subpkgs_with_version cd ~- # get a snapshot of the CLI help for the docs