Skip to content

Commit 7212f86

Browse files
committed
Release v1.0.0
1 parent a0ca750 commit 7212f86

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

.github/workflows/pypi-publish.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: pypi-publish
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.9
18+
19+
- name: "Installs and upgrades pip, dependencies and the package"
20+
run: |
21+
python3 -m pip install --upgrade pip
22+
python3 -m pip install setuptools wheel twine
23+
pip install -r requirements.txt
24+
python3 setup.py install
25+
26+
- name: Build and publish package
27+
run: |
28+
python3 setup.py sdist bdist_wheel
29+
python3 -m twine upload dist/*
30+
env:
31+
TWINE_USERNAME: __token__
32+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
33+
TWINE_REPOSITORY: pypi

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ requests==2.25.1
66
urllib3==1.26.4
77
wincertstore==0.2
88
python-dotenv==0.17.0
9-
abstract_python_core==0.1.0
9+
abstract_python_core==1.0.0

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name='abstract_python_email_validation',
19-
version='0.1.1',
19+
version='1.0.0',
2020
author='Benjamin Bouchet',
2121
author_email='libraries@abstractapi.com',
2222
description="AbstractEmailValidation - Wrapper to quickly start using the powerful AbstractAPI's email validation service in your projects.",

0 commit comments

Comments
 (0)