We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd9ee25 commit c3aed1eCopy full SHA for c3aed1e
1 file changed
script/release
@@ -56,7 +56,7 @@ interactive() {
56
echo 'script/release: interactive mode for creating new tagged releases with human assistance' >&2
57
58
local branch="${1-$(git symbolic-ref --short HEAD)}"
59
- version="$(PYTHONPATH=$PWD/python3 python3 -c 'import httplib2; print(httplib2.__version__)')"
+ version=$(python -Es -c "$(egrep '^__version__' python3/httplib2/__init__.py);print(__version__)")
60
printf "\nbranch: %s httplib2.__version__: '%s'\n" $branch $version >&2
61
62
if [[ "$branch" != "master" ]] ; then
0 commit comments