Skip to content

Commit

Permalink
Set graphql-core-next as v3 of graphql-core (#40)
Browse files Browse the repository at this point in the history
Add PyPI packing and deploy and set GraphQL-core-next as v3 of GraphQL-core.
Update version number everywhere and update PyPi deploy credentials.
Add alpha prerelease qualifier.
  • Loading branch information
mvanlonden authored and Cito committed Jul 13, 2019
1 parent afa494e commit a8ec2a9
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.0
current_version = 3.0.0a0
commit = False
tag = False

Expand Down
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ script:

after_success:
- codecov

deploy:
provider: pypi
user: mvanlonden
on:
tags: true
password:
secure: xWXF8kHWqM2/KIxM3rSRM2zKU0ZSRzexxos2BrJK/favSNXthsAfbNrkvWgJRpleyo/WrP5A0yRoGZRFzDkg7JX4oqUNOMkVG591V6eLNdXLwvrpxTujzEY2dKcwWzJ+EreOesIZFsK2TpkAyE0ntzBDbyhHPJl5uLCVD0d7F//psIUOM2EHwR49efV+eDBFgSdEPZ+P/e8OUlPV+U9lxoqvc1qFz5o2aV5tOEadZy1jzKEKslu2U3/F8vdOHrDAJGND3d3xpjRndZuaPPMUp9Fzbf7KdHiKGhbtjIPbR6E0jGkI9y2hesdjOgktLjRmUxES+KfthwDpP0uEXdS4FhLA+eXb5j2oKrC2uI/5s3efq8L55v4lYVpqiKFhYPXkqYbRpITZnHsCDBqgDx9BcrziJ15Y2NEZl1vKvmT6rKSkzhxjXO0slPV/fC4Po9dPvujvAzM2QEfl6aCv0wkP66SaSwWyK3K3B2a0FT2jURQ9qHCQ9hMGjwwA3xQh8UyuMXonzOjmtt8R0F9NrZnvLetrKAJjR1oGhTgEwqFhmq2uK/Q8QILuUMBKGHkFv2Ve1p3CLEJcX+KHrpKtGJvnWYVIISTfDivdKNIjoN+hM90vH1tC1DrvFY/PXGMDO+MHwYgyOezcrNdj+sav02cLm5XG+7449S5vgIa4DpAE+24=
distributions: "sdist bdist_wheel"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ a query language for APIs created by Facebook.
[![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core-next/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core-next/)
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

The current version 1.1.0 of GraphQL-core-next is up-to-date with GraphQL.js version
The current version 3.0.0a0 of GraphQL-core-next is up-to-date with GraphQL.js version
14.4.0. All parts of the API are covered by an extensive test suite of currently 1882
unit tests.

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# The short X.Y version.
# version = u'1.1'
# The full version, including alpha/beta/rc tags.
version = release = u'1.1.0'
version = release = u'3.0.0a0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "graphql-core-next"
version = "1.1.0"
version = "3.0.0a0"
description = """
GraphQL-core-next is a Python port of GraphQL.js,
the JavaScript reference implementation for GraphQL."""
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
readme = readme_file.read()

setup(
name="GraphQL-core-next",
name="graphql-core",
version=version,
description="GraphQL-core-next is a Python port of GraphQL.js,"
description="GraphQL implementation for Python, a port of GraphQL.js,"
" the JavaScript reference implementation for GraphQL.",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down
4 changes: 2 additions & 2 deletions src/graphql/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def __str__(self):
return v


version = "1.1.0"
version = "3.0.0a0"

version_info = VersionInfo(1, 1, 0, "final", 0)
version_info = VersionInfo(3, 0, 0, "alpha", 0)

version_js = "14.4.0"

Expand Down

0 comments on commit a8ec2a9

Please sign in to comment.