Skip to content

Commit

Permalink
Release 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bfontaine committed May 15, 2020
1 parent ac6a6db commit fcdc37e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# `xtools` Changelog

## 0.1.2 (2020/05/15)

* Fix an issue with usernames and page titles that contain URL-interpretable
characters

## 0.1.1 (2020/05/15)

* Error HTTP responses that return HTML instead of JSON now raise a `requests`
Expand Down
11 changes: 9 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -22,8 +22,15 @@ To release a new version:
2. Bump up the version number in `setup.py` and `xtools/__init__.py`, e.g. `0.1.0`
3. Fill the `CHANGELOG.md`
4. Commit and tag
5. Clean your `dist/` directory if it already exists
5. Clean your `dist/` directory if it already exists: `rm -rf dist/*`
6. Package the release: `python3 setup.py sdist bdist_wheel`
7. Check the package: `twine check dist/*`
8. Upload the package: `twine upload dist/*`
9. Push
9. Push

All in one:

```
rm -rf dist/* && python3 setup.py sdist bdist_wheel && twine check dist/*
twine upload dist/*
```
2 changes: 1 addition & 1 deletion setup.py
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name="xtools",
version="0.1.1",
version="0.1.2",
author="Baptiste Fontaine",
author_email="b@ptistefontaine.fr",
description="XTools API wrapper",
Expand Down
2 changes: 1 addition & 1 deletion xtools/__init__.py
Expand Up @@ -8,4 +8,4 @@

from .exceptions import BaseXToolsException, NotFound, TooManyEdits

__version__ = "0.1.1"
__version__ = "0.1.2"

0 comments on commit fcdc37e

Please sign in to comment.