Reverted pip installation in Dockerfile

As the Dockerfile is there mainly to support developers, we want to build the Dockerfile using the current working
directory instead of a previously released version.
This commit is contained in:
Feike Steenbergen
2015-09-07 13:47:05 +02:00
parent 5ea0ab70f5
commit 348e8e8086
5 changed files with 17 additions and 27 deletions
+9 -6
View File
@@ -5,6 +5,9 @@ if [ $# -ne 1 ]; then
exit 1
fi
readonly VERSIONFILE="patroni/version.py"
## Bail out on any non-zero exitcode from the called processes
set -xe
python3 --version
@@ -12,17 +15,17 @@ git --version
version=$1
sed -i "s/__version__ = .*/__version__ = '${version}'/" version.py
sed -i "s/__version__ = .*/__version__ = '${version}'/" "${VERSIONFILE}"
python3 setup.py clean
python3 setup.py test
python3 setup.py flake8
git add __init__.py
git add "${VERSIONFILE}"
git commit -m "Bumped version to $version"
git push
#git commit -m "Bumped version to $version"
#git push
python3 setup.py sdist bdist_wheel upload
git tag ${version}
git push --tags
#git tag ${version}
#git push --tags