diff --git a/README.md b/README.md index cd57b5a..a2644ad 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![pyversion](https://img.shields.io/static/v1?label=python&color=blue&message=3.6%20|%203.7%20|%203.8)](./) [![coverage](https://img.shields.io/static/v1?label=coverage&color=brightgreen&message=94%25)](./) [![test](https://img.shields.io/static/v1?label=tests&color=success&message=100%25)](./) +[![downloads](https://pepy.tech/badge/gbqschema-converter)](https://pepy.tech/project/gbqschema-converter) Python library to convert [Google BigQuery table schema](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#datetime_type) into [draft-07](https://json-schema.org/draft-07/json-schema-release-notes.html) [json schema](https://json-schema.org/) and vice versa. diff --git a/build.sh b/build.sh index 7bc81f4..381796a 100755 --- a/build.sh +++ b/build.sh @@ -9,3 +9,7 @@ if [ $(python3.7 -m twine check ${PWD}/dist/* | grep FAIL | wc -l) -gt 0 ]; then exit fi echo "OK" + +echo "Upload to pypi" + +twine upload ${PWD}/dist/* diff --git a/gbqschema_converter/__init__.py b/gbqschema_converter/__init__.py index 85633cd..874fd6a 100644 --- a/gbqschema_converter/__init__.py +++ b/gbqschema_converter/__init__.py @@ -9,5 +9,5 @@ - https://cloud.google.com/bigquery/docs/schemas#creating_a_json_schema_file - https://json-schema.org/ """ -__version__ = "1.2.0" +__version__ = "1.2.1" __all__ = ['__version__', 'gbqschema_to_jsonschema', 'jsonschema_to_gbqschema'] diff --git a/setup.py b/setup.py index ffa5fb2..ac8e435 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='gbqschema_converter', - version='1.2.0', + version='1.2.1', description="Library to convert Google BigQuery Table Schema into Json Schema", long_description=README, long_description_content_type="text/markdown",