mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Merge pull request #913 from kuba/bugs/908
Don't save KGS in dist dir in dev release script (fixes #908).
This commit is contained in:
@@ -70,7 +70,7 @@ echo "Testing packages"
|
|||||||
cd "dist.$version"
|
cd "dist.$version"
|
||||||
# start local PyPI
|
# start local PyPI
|
||||||
python -m SimpleHTTPServer $PORT &
|
python -m SimpleHTTPServer $PORT &
|
||||||
# cd .. is NOT done on purpose: we make sure that all subpacakges are
|
# cd .. is NOT done on purpose: we make sure that all subpackages are
|
||||||
# installed from local PyPI rather than current directory (repo root)
|
# installed from local PyPI rather than current directory (repo root)
|
||||||
virtualenv --no-site-packages ../venv
|
virtualenv --no-site-packages ../venv
|
||||||
. ../venv/bin/activate
|
. ../venv/bin/activate
|
||||||
@@ -82,15 +82,16 @@ pip install \
|
|||||||
# stop local PyPI
|
# stop local PyPI
|
||||||
kill $!
|
kill $!
|
||||||
|
|
||||||
# freeze before installing anythin else, so that we know end-user KGS
|
# freeze before installing anything else, so that we know end-user KGS
|
||||||
mkdir kgs
|
# make sure "twine upload" doesn't catch "kgs"
|
||||||
kgs="kgs/$version"
|
mkdir ../kgs
|
||||||
|
kgs="../kgs/$version"
|
||||||
pip freeze | tee $kgs
|
pip freeze | tee $kgs
|
||||||
pip install nose
|
pip install nose
|
||||||
# TODO: letsencrypt_apache fails due to symlink, c.f. #838
|
# TODO: letsencrypt_apache fails due to symlink, c.f. #838
|
||||||
nosetests letsencrypt $SUBPKGS || true
|
nosetests letsencrypt $SUBPKGS || true
|
||||||
|
|
||||||
echo "New root: $root"
|
echo "New root: $root"
|
||||||
echo "KGS is at $root/$kgs"
|
echo "KGS is at $root/kgs"
|
||||||
echo "In order to upload packages run the following command:"
|
echo "In order to upload packages run the following command:"
|
||||||
echo twine upload "$root/dist.$version/*/*"
|
echo twine upload "$root/dist.$version/*/*"
|
||||||
|
|||||||
Reference in New Issue
Block a user