From 8ca8ee764e94d2374574228a070af9b609148d2e Mon Sep 17 00:00:00 2001 From: Marcos Pereira Date: Sun, 26 May 2019 21:36:00 -0300 Subject: [PATCH 1/2] Deploy using twine. --- bin/deploy.sh | 4 ++-- docs/source/conf.py | 4 ++-- requirements.txt | 1 + setup.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/deploy.sh b/bin/deploy.sh index 98db823..e4b4d02 100644 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -5,9 +5,9 @@ cat << EOF > /root/.pypirc index-servers=pypi [pypi] -repository=https://upload.pypi.org/legacy/ username=${PYPI_USERNAME} password=${PYPI_PASSWORD} EOF -python setup.py sdist upload -r pypi \ No newline at end of file +python setup.py sdist +twine upload dist/* diff --git a/docs/source/conf.py b/docs/source/conf.py index 9a9d01b..0b53e9c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -60,9 +60,9 @@ author = 'Marcos Pereira' # built documents. # # The short X.Y version. -version = '0.17.2' +version = '0.17.0' # The full version, including alpha/beta/rc tags. -release = '0.17.2' +release = '0.17.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/requirements.txt b/requirements.txt index 70d3ca7..760de8a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ requests>=2.18.4 httmock>=1.2.5 python-jose>=1.4.0 +twine==1.13.0 \ No newline at end of file diff --git a/setup.py b/setup.py index 321773a..4c45a64 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as fh: setup( name='python-keycloak', - version='0.17.2', + version='0.17.0', url='https://bitbucket.org/agriness/python-keycloak', license='The MIT License', author='Marcos Pereira', From 180bc64335ef151705bca06dbdc40456b711ba0e Mon Sep 17 00:00:00 2001 From: Marcos Pereira Date: Sun, 26 May 2019 21:36:37 -0300 Subject: [PATCH 2/2] Fixed pipeline. --- docs/source/conf.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 0b53e9c..0b68d4e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -60,9 +60,9 @@ author = 'Marcos Pereira' # built documents. # # The short X.Y version. -version = '0.17.0' +version = '0.17.1' # The full version, including alpha/beta/rc tags. -release = '0.17.0' +release = '0.17.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 4c45a64..b350392 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as fh: setup( name='python-keycloak', - version='0.17.0', + version='0.17.1', url='https://bitbucket.org/agriness/python-keycloak', license='The MIT License', author='Marcos Pereira',