Skip to content

Commit

Permalink
Merge pull request #79 from CartoDB/1_2_2_release
Browse files Browse the repository at this point in the history
1.2.2 release
  • Loading branch information
juanignaciosl committed Feb 27, 2018
2 parents 0673bf4 + 15f0a98 commit f5c72ae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions CONTRIBUTING.md
Expand Up @@ -4,8 +4,9 @@ Contributions are totally welcome. However, contributors must sign a Contributor

## Release process

1. You must be maintainer at [carto pypi repo](https://pypi.python.org/pypi/carto/).
2. Prepare a `~/.pypirc` file:
1. Update version number and information at `setup.py`, `conf.py` and `NEWS.md`.
2. You must be maintainer at [carto pypi repo](https://pypi.python.org/pypi/carto/).
3. Prepare a `~/.pypirc` file:

```
[distutils]
Expand All @@ -22,7 +23,7 @@ username=your_username
password=your_password
```

3. Upload the package to the test repository: `python setup.py sdist upload -r pypitest`.
4. Install it in a new environment: `pip install --index-url=https://test.pypi.org/simple --extra-index-url=https://pypi.org/simple carto`.
5. Test it.
6. Release it: `python setup.py sdist upload -r pypi`.
4. Upload the package to the test repository: `python setup.py sdist upload -r pypitest`.
5. Install it in a new environment: `pip install --index-url=https://test.pypi.org/simple --extra-index-url=https://pypi.org/simple carto`.
6. Test it.
7. Release it: `python setup.py sdist upload -r pypi`.
4 changes: 2 additions & 2 deletions doc/source/conf.py
Expand Up @@ -55,9 +55,9 @@
# built documents.
#
# The short X.Y version.
version = u'1.2.1'
version = u'1.2.2'
# The full version, including alpha/beta/rc tags.
release = u'1.2.1'
release = u'1.2.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -17,7 +17,7 @@
author="Daniel Carrión",
author_email="daniel@carto.com",
description="SDK around CARTO's APIs",
version="1.2.1",
version="1.2.2",
url="https://github.com/CartoDB/carto-python",
install_requires=required,
packages=["carto"])

0 comments on commit f5c72ae

Please sign in to comment.