diff --git a/publish_package.sh b/publish_package.sh new file mode 100755 index 00000000..8cfa23e2 --- /dev/null +++ b/publish_package.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +# Copyright (c) 2017-2022 Postgres Professional + +set -eux + +# prepare environment +venv_path=.venv +rm -rf "$venv_path" +virtualenv "$venv_path" +export VIRTUAL_ENV_DISABLE_PROMPT=1 +. "$venv_path"/bin/activate + +# install utilities +pip3 install setuptools twine + +# create distribution of the package +python3 setup.py sdist bdist_wheel + +# upload dist +twine upload dist/* + +set +eux diff --git a/setup.py b/setup.py index a5dc600e..5c6f4a07 100755 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ readme = f.read() setup( - version='1.8.5', + version='1.8.6', name='testgres', packages=['testgres'], description='Testing utility for PostgreSQL and its extensions',