Skip to content

Commit c3aed1e

Browse files
committed
fix release script, interactive part
1 parent bd9ee25 commit c3aed1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interactive() {
5656
echo 'script/release: interactive mode for creating new tagged releases with human assistance' >&2
5757

5858
local branch="${1-$(git symbolic-ref --short HEAD)}"
59-
version="$(PYTHONPATH=$PWD/python3 python3 -c 'import httplib2; print(httplib2.__version__)')"
59+
version=$(python -Es -c "$(egrep '^__version__' python3/httplib2/__init__.py);print(__version__)")
6060
printf "\nbranch: %s httplib2.__version__: '%s'\n" $branch $version >&2
6161

6262
if [[ "$branch" != "master" ]] ; then

0 commit comments

Comments
 (0)