File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 build-and-publish :
1212 name : Build and publish readit distributions to PyPI
13- runs-on : ubuntu-latest
13+ runs-on : ubuntu-18.04
1414 steps :
1515 - name : Checkout to master
1616 uses : actions/checkout@master
2525 run : |
2626 python -m pip install --upgrade setuptools wheel twine
2727 python setup.py sdist bdist_wheel
28+
2829 - name : Package check
2930 run : twine check dist/*
31+
3032 - name : Deploy to PyPi readit
3133 if : startsWith(github.event.ref, 'refs/tags')
3234 uses : pypa/gh-action-pypi-publish@master
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ description = Readit - Command Line Bookmark Manager Tool
44home-page = https://github.com/projectreadit/readit
55author = Ganesh, Shital, Daivshala
66author-email = ganeshhubale03@gmail.com
7- use_scm_version = true
87long_description = file: README.rst
98long_description_content_type = text/x-rst
109license = GNU General Public License v3.0
@@ -27,7 +26,7 @@ zip_safe = false
2726include_package_data = true
2827packages = find:
2928python_requires = >= 3.6
30- setup_requires = setuptools
29+ setup_requires = setuptools_scm
3130install_requires =
3231 beautifultable
3332 click
Original file line number Diff line number Diff line change 11from setuptools import setup
22
3- setup ()
3+ setup (use_scm_version = True , )
You can’t perform that action at this time.
0 commit comments