Skip to content

Commit 06e12a6

Browse files
authored
Merge pull request #152 from digitronik/fix_release
try to fix deploy
2 parents b3c8a50 + d00dc18 commit 06e12a6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
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
@@ -25,8 +25,10 @@ jobs:
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

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description = Readit - Command Line Bookmark Manager Tool
44
home-page = https://github.com/projectreadit/readit
55
author = Ganesh, Shital, Daivshala
66
author-email = ganeshhubale03@gmail.com
7-
use_scm_version = true
87
long_description = file: README.rst
98
long_description_content_type = text/x-rst
109
license = GNU General Public License v3.0
@@ -27,7 +26,7 @@ zip_safe = false
2726
include_package_data = true
2827
packages = find:
2928
python_requires = >= 3.6
30-
setup_requires = setuptools
29+
setup_requires = setuptools_scm
3130
install_requires =
3231
beautifultable
3332
click

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from setuptools import setup
22

3-
setup()
3+
setup(use_scm_version=True,)

0 commit comments

Comments
 (0)