refactor: bump version

This commit is contained in:
Florian Hönicke
2023-04-12 16:43:31 +02:00
parent 3f96f6d40a
commit 372f40b7dc
3 changed files with 9 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ def read_requirements():
setup(
name='gptdeploy',
version='0.18.13',
version='0.18.14',
description='Use natural language interface to create, deploy and update your microservice infrastructure.',
long_description=open('README.md', 'r', encoding='utf-8').read(),
long_description_content_type='text/markdown',

View File

@@ -1,2 +1,2 @@
__version__ = '0.18.13'
__version__ = '0.18.14'
from src.cli import main

View File

@@ -11,6 +11,7 @@ from hubble.executor.helper import upload_file, archive_package, get_request_hea
from jcloud.flow import CloudFlow
from src.utils.io import suppress_stdout
from src.utils.string_tools import print_colored
def redirect_callback(href):
@@ -25,6 +26,12 @@ def jina_auth_login():
try:
hubble.Client(jsonify=True).get_user_info(log_error=False)
except hubble.AuthenticationRequiredError:
print('You need login to Jina first to use GPTDeploy')
print_colored('', '''
If you just created an account, it can happen that the login callback is not working.
In this case, please cancel this run, rerun your gptdeploy command and login into your account again.
''', 'green'
)
hubble.login(prompt='login', redirect_callback=redirect_callback)