Skip to content

Commit daff928

Browse files
committed
[Ref] update release flow with twine
1 parent 90f5a92 commit daff928

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
History
44
-------
55

6+
0.4.0 (2022-04-02)
7+
++++++++++++++++++
8+
9+
* Skip proxy, abstract and not managed model. (Issue #11 by @xjlin0)
10+
611
0.3.1 (2021-08-02)
712
++++++++++++++++++
813

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ docs: ## generate Sphinx HTML documentation, including API docs
5151
$(BROWSER) docs/_build/html/index.html
5252

5353
release: clean ## package and upload a release
54-
python setup.py sdist upload
55-
python setup.py bdist_wheel upload
54+
python setup.py sdist
55+
python setup.py bdist_wheel
56+
twine upload dist/*
5657

5758
sdist: clean ## package
5859
python setup.py sdist

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
bumpversion==0.5.3
2+
twine==4.0.0
23
wheel==0.30.0
3-

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
'Framework :: Django :: 2.0',
5555
'Framework :: Django :: 2.2',
5656
'Framework :: Django :: 3.1',
57+
'Framework :: Django :: 3.2',
58+
'Framework :: Django :: 4.0',
5759
'Intended Audience :: Developers',
5860
'License :: OSI Approved :: BSD License',
5961
'Natural Language :: English',
@@ -65,5 +67,6 @@
6567
'Programming Language :: Python :: 3.7',
6668
'Programming Language :: Python :: 3.8',
6769
'Programming Language :: Python :: 3.9',
70+
'Programming Language :: Python :: 3.10',
6871
],
6972
)

0 commit comments

Comments
 (0)