Skip to content

Commit

Permalink
Fix stray $x bug from the old version of this script
Browse files Browse the repository at this point in the history
  • Loading branch information
pde committed Dec 14, 2015
1 parent 7193296 commit 1f58e06
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/dev-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ SetVersion() {
ver="$1"
for pkg_dir in $SUBPKGS
do
sed -i $x "s/^version.*/version = '$ver'/" $pkg_dir/setup.py
sed -i "s/^version.*/version = '$ver'/" $pkg_dir/setup.py
done
sed -i "s/^__version.*/__version__ = '$ver'/" letsencrypt/__init__.py

Expand Down Expand Up @@ -147,13 +147,14 @@ mkdir ../kgs
kgs="../kgs/$version"
pip freeze | tee $kgs
pip install nose
for thing in letsencrypt $subpkgs_modules ; do
echo testing $thing
nosetests $thing
for module in letsencrypt $subpkgs_modules ; do
echo testing $module
nosetests $module
done
deactivate

cd ..
echo Now in $PWD
name=${root_without_le%.*}
ext="${root_without_le##*.}"
rev="$(git rev-parse --short HEAD)"
Expand Down

0 comments on commit 1f58e06

Please sign in to comment.