Skip to content

Commit 27af7b5

Browse files
authored
fix help output (certbot#9509)
1 parent a807240 commit 27af7b5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tools/_release.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,22 @@ VIRTUALENV_NO_DOWNLOAD=1 virtualenv ../venv
169169
. ../venv/bin/activate
170170
pip install -U setuptools
171171
pip install -U pip
172+
173+
# This creates a string like "acme==a.b.c certbot==a.b.c ..." which can be used
174+
# with pip to ensure the correct versions of our packages installed.
175+
subpkgs_with_version=""
176+
for pkg in $SUBPKGS; do
177+
subpkgs_with_version="$subpkgs_with_version $pkg==$version"
178+
done
179+
172180
# Now, use our local archives. Disable cache so we get the correct packages even if
173181
# we (or our dependencies) have conditional dependencies implemented with if
174182
# statements in setup.py and we have cached wheels lying around that would cause
175183
# those ifs to not be evaluated.
176184
python ../tools/pip_install.py \
177185
--no-cache-dir \
178186
--find-links . \
179-
$SUBPKGS
187+
$subpkgs_with_version
180188
cd ~-
181189

182190
# get a snapshot of the CLI help for the docs

0 commit comments

Comments
 (0)