File tree 2 files changed +32
-1
lines changed
2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Copyright (c) 2017-2022 Postgres Professional
4
+
5
+ set -eux
6
+
7
+
8
+ # choose python version
9
+ echo python version is $PYTHON_VERSION
10
+ VIRTUALENV=" virtualenv --python=/usr/bin/python$PYTHON_VERSION "
11
+ PIP=" pip$PYTHON_VERSION "
12
+
13
+
14
+ # prepare environment
15
+ VENV_PATH=/tmp/testgres_venv
16
+ rm -rf $VENV_PATH
17
+ $VIRTUALENV $VENV_PATH
18
+ export VIRTUAL_ENV_DISABLE_PROMPT=1
19
+ source $VENV_PATH /bin/activate
20
+
21
+ # install utilities
22
+ $PIP install setuptools twine
23
+
24
+ # create distribution of the package
25
+ alias python3=' python'
26
+ python setup.py sdist bdist_wheel
27
+
28
+ # upload dist
29
+ twine upload dist/*
30
+
31
+ set +eux
Original file line number Diff line number Diff line change 21
21
readme = f .read ()
22
22
23
23
setup (
24
- version = '1.8.5 ' ,
24
+ version = '1.8.6 ' ,
25
25
name = 'testgres' ,
26
26
packages = ['testgres' ],
27
27
description = 'Testing utility for PostgreSQL and its extensions' ,
You can’t perform that action at this time.
0 commit comments