Skip to content

Commit

Permalink
Version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshData committed Sep 18, 2022
1 parent dd13053 commit 10c34e6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Unreleased changes in development
---------------------------------
Version 1.3.0 (September 18, 2022)
----------------------------------

* Deliverability checks now check for 'v=spf1 -all' SPF records as a way to reject more bad domains.
* Special use domain names now raise EmailSyntaxError instead of EmailUndeliverableError since they are performed even if check_deliverability is off.
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,17 +425,15 @@ The package is distributed as a universal wheel and as a source package.

To release:

* Update the version number.
* Follow the steps below to publish source and a universal wheel to pypi.
* Update CHANGELOG.md.
* Update the version number in setup.cfg.
* Make a commit with the new version number.
* Follow the steps below to publish source and a universal wheel to pypi and tag the release.
* Make a release at https://github.com/JoshData/python-email-validator/releases/new.

```sh
pip3 install twine
rm -rf dist
python3 setup.py sdist
python3 setup.py bdist_wheel
twine upload dist/* # username: __token__ password: pypi API token
git tag v1.0.XXX # replace with version in setup.cfg
./release_to_pypi.sh
git tag v$(grep version setup.cfg | sed "s/.*= //")
git push --tags
```

Expand Down
6 changes: 6 additions & 0 deletions release_to_pypi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
pip3 install --upgrade twine
rm -rf dist
python3 setup.py sdist
python3 setup.py bdist_wheel
twine upload -u __token__ dist/* # username: __token__ password: pypi API token
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
name = email_validator
version = 1.2.1
description = A robust email syntax and deliverability validation library.
version = 1.3.0
description = A robust email address syntax and deliverability validation library.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/JoshData/python-email-validator
Expand Down

0 comments on commit 10c34e6

Please sign in to comment.